Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002346/0.002346, allocations: 91.61 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002708/0.002708, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.649/1.649, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4051/0.4051, allocations: 32.8 MB / 293.9 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 375.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.486e-05/3.669e-05, allocations: 5.828 kB / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.004813/0.00485, allocations: 1.665 MB / 376.9 MB, free: 3.301 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003166/0.008016, allocations: 1.297 MB / 378.2 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.955e-05/0.008105, allocations: 4 kB / 378.2 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003273/0.008432, allocations: 27.72 kB / 378.3 MB, free: 1.965 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004835/0.008916, allocations: 79.56 kB / 378.4 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006737/0.00959, allocations: 183.4 kB / 378.5 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002507/0.00984, allocations: 83.7 kB / 378.6 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.009973, allocations: 15.98 kB / 378.6 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.01009, allocations: 35.91 kB / 378.7 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.01028, allocations: 35.89 kB / 378.7 MB, free: 1.539 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/0.01031, allocations: 4 kB / 378.7 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002724/0.01058, allocations: 91.88 kB / 378.8 MB, free: 1.445 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.847e-05/0.01067, allocations: 19.92 kB / 378.8 MB, free: 1.426 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.912e-05/0.01073, allocations: 15.92 kB / 378.8 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004372/0.01117, allocations: 159.5 kB / 379 MB, free: 1.254 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.01117, allocations: 4 kB / 379 MB, free: 1.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.01118, allocations: 0 / 379 MB, free: 1.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.01118, allocations: 0 / 379 MB, free: 1.25 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008492/0.01203, allocations: 439.6 kB / 379.4 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.027e-05/0.01209, allocations: 8.031 kB / 379.4 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.734e-05/0.01218, allocations: 12.89 kB / 379.4 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.01249, allocations: 152.3 kB / 379.6 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.0125, allocations: 4.375 kB / 379.6 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.205e-05/0.01254, allocations: 4.375 kB / 379.6 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002894/0.01283, allocations: 103.3 kB / 379.7 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.01284, allocations: 192 / 379.7 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.01286, allocations: 4.125 kB / 379.7 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.01287, allocations: 0 / 379.7 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.01305, allocations: 27.92 kB / 379.7 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000665/0.01371, allocations: 295.8 kB / 380 MB, free: 108 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.0139, allocations: 43.05 kB / 380.1 MB, free: 52 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.01401, allocations: 31.7 kB / 380.1 MB, free: 16 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.01404, allocations: 4 kB / 380.1 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.941e-05/0.01411, allocations: 33.39 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.01411, allocations: 0 / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.001063/0.01517, allocations: 185.3 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.548e-05/0.01526, allocations: 77.11 kB / 380.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002983/0.01555, allocations: 211.8 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/0.01559, allocations: 29.7 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000236/0.01582, allocations: 142.9 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.658e-05/0.01588, allocations: 35.69 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.989e-05/0.01596, allocations: 27.38 kB / 380.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003437/0.0163, allocations: 0.4962 MB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.01643, allocations: 19.98 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.01662, allocations: 73.05 kB / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/0.01688, allocations: 59.59 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.01688, allocations: 0 / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003594/0.01724, allocations: 109.8 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.01726, allocations: 4 kB / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.01726, allocations: 0 / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.01728, allocations: 0 / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.01745, allocations: 19.98 kB / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.01746, allocations: 0 / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.11e-05/0.01754, allocations: 11.98 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.01755, allocations: 0 / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000188/0.01774, allocations: 164.5 kB / 381.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.725e-05/0.01781, allocations: 15.95 kB / 381.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004514/0.01826, allocations: 106.4 kB / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.01826, allocations: 0 / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.01827, allocations: 0 / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.01827, allocations: 0 / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008453/0.01912, allocations: 373.4 kB / 382.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01912, allocations: 0 / 382.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.01923, allocations: 19.92 kB / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.01924, allocations: 8 kB / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.01925, allocations: 0 / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.01925, allocations: 0 / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.01926, allocations: 288 / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004997/0.01975, allocations: 243.8 kB / 382.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.772e-05/0.01978, allocations: 15.94 kB / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/0.01981, allocations: 3.984 kB / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.01994, allocations: 4 kB / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.52e-05/0.02, allocations: 11.92 kB / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.02001, allocations: 8 kB / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001813/0.02019, allocations: 157.5 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.02019, allocations: 0 / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004957/0.02069, allocations: 43.86 kB / 382.8 MB, free: 13.16 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004444/0.02513, allocations: 0.5323 MB / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004253/0.02556, allocations: 67.64 kB / 383.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.02556, allocations: 0 / 383.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.02572, allocations: 43.61 kB / 383.4 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005016/0.02623, allocations: 27.69 kB / 383.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000838/0.02706, allocations: 210.3 kB / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.02719, allocations: 83.31 kB / 383.7 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001439/0.02734, allocations: 29.02 kB / 383.7 MB, free: 12.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.29e-05/0.02743, allocations: 24.48 kB / 383.8 MB, free: 12.31 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.02743, allocations: 0 / 383.8 MB, free: 12.31 MB / 362.7 MB Notification: Performance of Templates: time 0.008393/0.03583, allocations: 2.007 MB / 385.8 MB, free: 10.32 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.151657426962629]