Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.001036/0.001036, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001704/0.001704, allocations: 166.5 kB / 25.61 MB, free: 8.48 MB / 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 0.9248/0.9248, allocations: 177.1 MB / 206.1 MB, free: 4.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1523/0.1523, allocations: 34.25 MB / 296.8 MB, free: 13.94 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.585e-05/1.727e-05, allocations: 9.625 kB / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.001734/0.001752, allocations: 1.634 MB / 380.9 MB, free: 21.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000909/0.002661, allocations: 1.274 MB / 382.2 MB, free: 20.49 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.148e-05/0.002712, allocations: 0 / 382.2 MB, free: 20.49 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.002901, allocations: 23.78 kB / 382.2 MB, free: 20.47 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.003113, allocations: 91.5 kB / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.003289, allocations: 119.6 kB / 382.4 MB, free: 20.26 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.003396, allocations: 67.78 kB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.622e-05/0.003472, allocations: 11.84 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.894e-05/0.003521, allocations: 35.91 kB / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.61e-05/0.003607, allocations: 27.91 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.003618, allocations: 0 / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.729e-05/0.003716, allocations: 91.83 kB / 382.7 MB, free: 20.03 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.481e-05/0.003751, allocations: 19.91 kB / 382.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.896e-05/0.00377, allocations: 11.94 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.003925, allocations: 135.5 kB / 382.8 MB, free: 19.87 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.003927, allocations: 4 kB / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.003928, allocations: 0 / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.003931, allocations: 0 / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002712/0.004202, allocations: 428 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.607e-05/0.004228, allocations: 8.031 kB / 383.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.063e-05/0.004259, allocations: 8.891 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.644e-05/0.004355, allocations: 144.5 kB / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-06/0.004363, allocations: 384 / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.004378, allocations: 8.312 kB / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.406e-05/0.004462, allocations: 96.03 kB / 383.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.00447, allocations: 4.188 kB / 383.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-06/0.004476, allocations: 8.125 kB / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.004481, allocations: 0 / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.805e-05/0.004499, allocations: 7.984 kB / 383.5 MB, free: 19.08 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001639/0.004663, allocations: 256.3 kB / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.004775, allocations: 43.05 kB / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.404e-05/0.004789, allocations: 15.77 kB / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.004801, allocations: 0 / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.322e-05/0.004815, allocations: 37.33 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.004815, allocations: 0 / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002241/0.00504, allocations: 89.56 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.954e-05/0.005059, allocations: 77.11 kB / 384 MB, free: 18.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.598e-05/0.005125, allocations: 199.9 kB / 384.2 MB, free: 18.29 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.17e-06/0.00513, allocations: 25.7 kB / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.407e-05/0.005154, allocations: 142.8 kB / 384.4 MB, free: 18.11 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.532e-05/0.00517, allocations: 23.84 kB / 384.4 MB, free: 18.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.261e-05/0.005192, allocations: 19.38 kB / 384.4 MB, free: 18.06 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.518e-05/0.005227, allocations: 0.4884 MB / 384.9 MB, free: 17.56 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.698e-06/0.005237, allocations: 11.88 kB / 384.9 MB, free: 17.55 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.128e-05/0.005258, allocations: 57.12 kB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.493e-05/0.005283, allocations: 27.7 kB / 385 MB, free: 17.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-07/0.005284, allocations: 0 / 385 MB, free: 17.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.451e-05/0.005338, allocations: 57.59 kB / 385.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.966e-06/0.005347, allocations: 4 kB / 385.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.005351, allocations: 3.984 kB / 385.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-06/0.005359, allocations: 0 / 385.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.458e-05/0.005394, allocations: 11.94 kB / 385.1 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.005396, allocations: 4 kB / 385.1 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.811e-05/0.005414, allocations: 4 kB / 385.1 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-06/0.005419, allocations: 7.984 kB / 385.1 MB, free: 17.35 MB / 314.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 (5): * Single equations (assignments): 5 * 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 3.324e-05/0.005452, allocations: 156.6 kB / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.005472, allocations: 11.89 kB / 385.3 MB, free: 17.17 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.512e-05/0.005548, allocations: 66.42 kB / 385.3 MB, free: 17.1 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.00555, allocations: 7.984 kB / 385.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.005551, allocations: 0 / 385.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.005554, allocations: 3.984 kB / 385.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.005713, allocations: 298 kB / 385.6 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.005714, allocations: 320 / 385.6 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.547e-05/0.005739, allocations: 11.98 kB / 385.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.005741, allocations: 4 kB / 385.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-06/0.005745, allocations: 4 kB / 385.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.005746, allocations: 0 / 385.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.005747, allocations: 0 / 385.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.037e-05/0.005807, allocations: 211.8 kB / 385.9 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.143e-06/0.005814, allocations: 7.953 kB / 385.9 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.005825, allocations: 4 kB / 385.9 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.295e-05/0.005858, allocations: 7.984 kB / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.797e-05/0.005876, allocations: 0 / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.005879, allocations: 4 kB / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.027e-05/0.00591, allocations: 144.9 kB / 386 MB, free: 16.36 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00591, allocations: 0 / 386 MB, free: 16.36 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001762/0.006086, allocations: 43.81 kB / 386.1 MB, free: 16.31 MB / 314.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 (5): * Single equations (assignments): 5 * 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.0008888/0.006975, allocations: 496 kB / 386.6 MB, free: 16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.384e-05/0.007048, allocations: 31.61 kB / 386.6 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.00705, allocations: 4 kB / 386.6 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.605e-05/0.007066, allocations: 15.69 kB / 386.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.007261, allocations: 30.75 kB / 386.6 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000213/0.007474, allocations: 163.8 kB / 386.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.95e-05/0.007494, allocations: 63.2 kB / 386.9 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.255e-05/0.007526, allocations: 8 kB / 386.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.153e-05/0.007578, allocations: 94.17 kB / 387 MB, free: 15.55 MB / 314.7 MB Notification: Performance of SimCode: time 7.12e-07/0.007579, allocations: 4 kB / 387 MB, free: 15.54 MB / 314.7 MB Notification: Performance of Templates: time 0.003061/0.01064, allocations: 2.049 MB / 389 MB, free: 13.52 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.041662430856377]