Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.002336/0.002336, allocations: 91.61 kB / 20.96 MB, free: 3.457 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.002597/0.002597, allocations: 165.3 kB / 24.28 MB, free: 148 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.551/1.551, allocations: 177.1 MB / 204.6 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 178] 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.3517/0.3517, allocations: 34.26 MB / 295.3 MB, free: 0.6641 MB / 266.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.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 377.4 MB, free: 2.855 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.156e-05/3.38e-05, allocations: 2.312 kB / 377.4 MB, free: 2.852 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.004042/0.004076, allocations: 1.909 MB / 379.3 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002283/0.006359, allocations: 1.099 MB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.006459, allocations: 3.938 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000575/0.007034, allocations: 251.2 kB / 380.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005363/0.00757, allocations: 239.1 kB / 380.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003218/0.007892, allocations: 123.4 kB / 381 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003926/0.008285, allocations: 283.2 kB / 381.3 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.008418, allocations: 25.94 kB / 381.3 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002552/0.008673, allocations: 155.6 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002861/0.008959, allocations: 187.6 kB / 381.6 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.662e-05/0.008996, allocations: 12 kB / 381.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.009141, allocations: 67.83 kB / 381.7 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.009259, allocations: 63.78 kB / 381.8 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.284e-05/0.009352, allocations: 55.72 kB / 381.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004224/0.009774, allocations: 247.1 kB / 382.1 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.009779, allocations: 0 / 382.1 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.00978, allocations: 0 / 382.1 MB, free: 14.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.009787, allocations: 0 / 382.1 MB, free: 14.14 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0015/0.01129, allocations: 0.6387 MB / 382.7 MB, free: 13.47 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.01133, allocations: 12.03 kB / 382.7 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.01143, allocations: 36.7 kB / 382.8 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004121/0.01185, allocations: 230.9 kB / 383 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.01187, allocations: 8.375 kB / 383 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.259e-05/0.01191, allocations: 16.36 kB / 383 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002947/0.01221, allocations: 109.6 kB / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.01223, allocations: 3.938 kB / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.01225, allocations: 3.984 kB / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.01226, allocations: 4 kB / 383.1 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.01241, allocations: 47.89 kB / 383.2 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008465/0.01326, allocations: 0.5453 MB / 383.7 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004786/0.01374, allocations: 142.1 kB / 383.9 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.01385, allocations: 43.48 kB / 383.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.01386, allocations: 8 kB / 383.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000282/0.01415, allocations: 139.7 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.083e-06/0.01415, allocations: 0 / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001697/0.01584, allocations: 0.5201 MB / 384.6 MB, free: 11.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.295e-05/0.01592, allocations: 88.98 kB / 384.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005362/0.01645, allocations: 474.8 kB / 385.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.593e-05/0.0165, allocations: 33.69 kB / 385.1 MB, free: 10.85 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.01671, allocations: 239.3 kB / 385.4 MB, free: 10.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.781e-05/0.0168, allocations: 83.38 kB / 385.5 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.841e-05/0.01688, allocations: 51.36 kB / 385.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003087/0.01719, allocations: 0.543 MB / 386.1 MB, free: 9.914 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.01732, allocations: 55.97 kB / 386.1 MB, free: 9.859 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.0175, allocations: 102.7 kB / 386.2 MB, free: 9.742 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003069/0.01781, allocations: 178.8 kB / 386.4 MB, free: 9.551 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.01781, allocations: 0 / 386.4 MB, free: 9.551 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000441/0.01825, allocations: 241.3 kB / 386.6 MB, free: 9.309 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.01826, allocations: 12 kB / 386.6 MB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.01827, allocations: 4 kB / 386.6 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.01829, allocations: 0 / 386.6 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.01845, allocations: 43.97 kB / 386.7 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.01846, allocations: 3.938 kB / 386.7 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.312e-05/0.01854, allocations: 8 kB / 386.7 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.01856, allocations: 8 kB / 386.7 MB, free: 9.23 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001687/0.01873, allocations: 180.5 kB / 386.9 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.286e-05/0.0188, allocations: 47.77 kB / 386.9 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005628/0.01936, allocations: 265.4 kB / 387.2 MB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.01938, allocations: 8 kB / 387.2 MB, free: 8.727 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.01939, allocations: 3.938 kB / 387.2 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.01939, allocations: 3.984 kB / 387.2 MB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/0.02059, allocations: 0.8347 MB / 388 MB, free: 7.824 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.02059, allocations: 4 kB / 388 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.0207, allocations: 31.98 kB / 388.1 MB, free: 7.789 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.02071, allocations: 4 kB / 388.1 MB, free: 7.785 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.02073, allocations: 4 kB / 388.1 MB, free: 7.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.02073, allocations: 12.06 kB / 388.1 MB, free: 7.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.02073, allocations: 0 / 388.1 MB, free: 7.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006571/0.02139, allocations: 0.5403 MB / 388.6 MB, free: 7.191 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.78e-05/0.02145, allocations: 35.77 kB / 388.7 MB, free: 7.156 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.395e-05/0.02149, allocations: 11.98 kB / 388.7 MB, free: 7.145 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.02163, allocations: 7.938 kB / 388.7 MB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.732e-05/0.0217, allocations: 19.97 kB / 388.7 MB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.511e-05/0.02172, allocations: 8 kB / 388.7 MB, free: 7.109 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003541/0.02208, allocations: 323 kB / 389 MB, free: 6.793 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02208, allocations: 0 / 389 MB, free: 6.793 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003693/0.02245, allocations: 59.92 kB / 389.1 MB, free: 6.734 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003965/0.02641, allocations: 0.5449 MB / 389.6 MB, free: 6.426 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004053/0.02682, allocations: 179.9 kB / 389.8 MB, free: 6.246 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.02682, allocations: 0 / 389.8 MB, free: 6.246 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.02701, allocations: 92.55 kB / 389.9 MB, free: 6.152 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005968/0.0276, allocations: 77 kB / 390 MB, free: 6.086 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.02862, allocations: 0.5509 MB / 390.5 MB, free: 5.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.02883, allocations: 174.1 kB / 390.7 MB, free: 5.293 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001073/0.02894, allocations: 37.92 kB / 390.7 MB, free: 5.254 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.128e-05/0.02902, allocations: 36.48 kB / 390.8 MB, free: 5.219 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02902, allocations: 4 kB / 390.8 MB, free: 5.215 MB / 362.7 MB Notification: Performance of Templates: time 0.008516/0.03753, allocations: 3.322 MB / 394.1 MB, free: 1.941 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.0070755949709564]