Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.002052/0.002052, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002013/0.002013, allocations: 165.3 kB / 24.27 MB, free: 156 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.592/1.592, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.4817/0.4817, allocations: 34.26 MB / 295.3 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 179] 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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 377.4 MB, free: 2.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.079e-05/3.237e-05, allocations: 2.312 kB / 377.4 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003666/0.003698, allocations: 1.966 MB / 379.3 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002552/0.00625, allocations: 1.165 MB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.801e-05/0.006348, allocations: 0 / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007583/0.007106, allocations: 207.3 kB / 380.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005397/0.007646, allocations: 207 kB / 380.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004433/0.008089, allocations: 171.4 kB / 381.1 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003894/0.008478, allocations: 275.1 kB / 381.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.285e-05/0.008571, allocations: 12.59 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002457/0.008817, allocations: 143.6 kB / 381.5 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.009003, allocations: 107.7 kB / 381.6 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.51e-05/0.009038, allocations: 12 kB / 381.6 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.009206, allocations: 55.95 kB / 381.7 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.975e-05/0.009305, allocations: 59.78 kB / 381.7 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.009409, allocations: 51.78 kB / 381.8 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003967/0.009805, allocations: 251.1 kB / 382 MB, free: 14.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.009809, allocations: 0 / 382 MB, free: 14.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.009809, allocations: 4 kB / 382 MB, free: 14.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.009815, allocations: 0 / 382 MB, free: 14.22 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009561/0.01077, allocations: 0.5941 MB / 382.6 MB, free: 13.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.01081, allocations: 8.031 kB / 382.6 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.763e-05/0.01091, allocations: 40.67 kB / 382.7 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004095/0.01132, allocations: 220.7 kB / 382.9 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.01134, allocations: 12.36 kB / 382.9 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.01136, allocations: 4.375 kB / 382.9 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002408/0.0116, allocations: 105.5 kB / 383 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.01161, allocations: 3.938 kB / 383 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.01162, allocations: 0 / 383 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.01163, allocations: 0 / 383 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.01175, allocations: 35.92 kB / 383 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006393/0.01239, allocations: 399.4 kB / 383.4 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003213/0.01272, allocations: 134.1 kB / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.01282, allocations: 43.36 kB / 383.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.01284, allocations: 7.984 kB / 383.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002612/0.0131, allocations: 132.3 kB / 383.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.012e-06/0.0131, allocations: 0 / 383.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005141/0.01362, allocations: 177.9 kB / 383.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/0.01368, allocations: 77.11 kB / 384 MB, free: 12.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000495/0.01418, allocations: 402.3 kB / 384.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.827e-05/0.01422, allocations: 25.7 kB / 384.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.0144, allocations: 206.8 kB / 384.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.882e-05/0.01445, allocations: 35.8 kB / 384.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.398e-05/0.01452, allocations: 39.36 kB / 384.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000309/0.01483, allocations: 0.5274 MB / 385.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.156e-05/0.01492, allocations: 27.98 kB / 385.2 MB, free: 10.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.01507, allocations: 107.5 kB / 385.3 MB, free: 10.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.01529, allocations: 102.7 kB / 385.4 MB, free: 10.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.01529, allocations: 3.938 kB / 385.4 MB, free: 10.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003159/0.01561, allocations: 153.3 kB / 385.6 MB, free: 10.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.01563, allocations: 12.09 kB / 385.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.01563, allocations: 0 / 385.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.01565, allocations: 4 kB / 385.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.01578, allocations: 19.98 kB / 385.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.01578, allocations: 0 / 385.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.274e-05/0.01587, allocations: 15.95 kB / 385.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.01589, allocations: 4 kB / 385.6 MB, free: 10.3 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001737/0.01606, allocations: 188.4 kB / 385.8 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.354e-05/0.01613, allocations: 27.86 kB / 385.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003933/0.01652, allocations: 167.5 kB / 386 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.01652, allocations: 4.188 kB / 386 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.01653, allocations: 4 kB / 386 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.01654, allocations: 4 kB / 386 MB, free: 9.895 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/0.01683, allocations: 224.5 kB / 386.2 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.01683, allocations: 3.938 kB / 386.2 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.899e-05/0.01688, allocations: 8 kB / 386.3 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.01688, allocations: 0 / 386.3 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.01691, allocations: 11.98 kB / 386.3 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.01691, allocations: 0 / 386.3 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01691, allocations: 0 / 386.3 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003893/0.0173, allocations: 203.9 kB / 386.5 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.095e-05/0.01735, allocations: 31.75 kB / 386.5 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.486e-05/0.01739, allocations: 11.98 kB / 386.5 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.387e-05/0.01747, allocations: 4 kB / 386.5 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.941e-05/0.01753, allocations: 11.98 kB / 386.5 MB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.01755, allocations: 7.984 kB / 386.5 MB, free: 9.324 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003086/0.01786, allocations: 267 kB / 386.8 MB, free: 9.062 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01786, allocations: 0 / 386.8 MB, free: 9.062 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002936/0.01815, allocations: 47.92 kB / 386.8 MB, free: 9.016 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.003008/0.02116, allocations: 452.1 kB / 387.3 MB, free: 8.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003119/0.02147, allocations: 95.58 kB / 387.4 MB, free: 8.652 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.02147, allocations: 0 / 387.4 MB, free: 8.652 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.02161, allocations: 58.86 kB / 387.4 MB, free: 8.594 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004618/0.02207, allocations: 75.75 kB / 387.5 MB, free: 8.523 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008687/0.02294, allocations: 382.5 kB / 387.9 MB, free: 8.117 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001657/0.0231, allocations: 141 kB / 388 MB, free: 7.961 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.331e-05/0.0232, allocations: 30.08 kB / 388 MB, free: 7.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.296e-05/0.02327, allocations: 28.5 kB / 388.1 MB, free: 7.902 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02327, allocations: 0 / 388.1 MB, free: 7.902 MB / 362.7 MB Notification: Performance of Templates: time 0.008538/0.03181, allocations: 3.226 MB / 391.3 MB, free: 4.719 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.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: 4.986101911985315]