Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.001347/0.001347, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001602/0.001602, allocations: 168.4 kB / 24.91 MB, free: 8.27 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.9986/0.9986, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.2304/0.2304, allocations: 32.8 MB / 294.6 MB, free: 1.254 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.096e-06/3.096e-06, allocations: 4 kB / 323.3 MB, free: 9.645 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.431e-05, allocations: 2.312 kB / 323.3 MB, free: 9.641 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002479/0.002503, allocations: 1.706 MB / 325 MB, free: 7.922 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.003674, allocations: 0.9896 MB / 326 MB, free: 6.926 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.59e-05/0.00374, allocations: 3.938 kB / 326 MB, free: 6.922 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002847/0.004025, allocations: 67.67 kB / 326.1 MB, free: 6.855 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003416/0.004366, allocations: 107.5 kB / 326.2 MB, free: 6.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.004556, allocations: 75.59 kB / 326.2 MB, free: 6.676 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.004726, allocations: 107.6 kB / 326.4 MB, free: 6.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/0.004771, allocations: 8.844 kB / 326.4 MB, free: 6.562 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.004879, allocations: 63.77 kB / 326.4 MB, free: 6.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.853e-05/0.004967, allocations: 35.89 kB / 326.5 MB, free: 6.465 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.004984, allocations: 4 kB / 326.5 MB, free: 6.461 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.067e-05/0.005055, allocations: 35.92 kB / 326.5 MB, free: 6.426 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.15e-05/0.005096, allocations: 23.92 kB / 326.5 MB, free: 6.402 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.888e-05/0.005125, allocations: 15.92 kB / 326.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.005269, allocations: 87.67 kB / 326.6 MB, free: 6.301 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.005271, allocations: 0 / 326.6 MB, free: 6.301 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.005272, allocations: 0 / 326.6 MB, free: 6.301 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.005275, allocations: 0 / 326.6 MB, free: 6.301 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003708/0.005646, allocations: 321.4 kB / 326.9 MB, free: 5.965 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.005679, allocations: 8.031 kB / 326.9 MB, free: 5.957 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.801e-05/0.005707, allocations: 4.938 kB / 326.9 MB, free: 5.953 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.005845, allocations: 147.4 kB / 327.1 MB, free: 5.785 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.00586, allocations: 12.36 kB / 327.1 MB, free: 5.773 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.005871, allocations: 4.375 kB / 327.1 MB, free: 5.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.212e-05/0.005963, allocations: 57.77 kB / 327.2 MB, free: 5.703 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.974e-06/0.00597, allocations: 3.938 kB / 327.2 MB, free: 5.699 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-06/0.005976, allocations: 0 / 327.2 MB, free: 5.699 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.00598, allocations: 0 / 327.2 MB, free: 5.699 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.025e-05/0.006, allocations: 7.938 kB / 327.2 MB, free: 5.691 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.061e-05/0.006081, allocations: 70.69 kB / 327.2 MB, free: 5.605 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.505e-05/0.006156, allocations: 37.44 kB / 327.3 MB, free: 5.559 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.046e-05/0.006176, allocations: 20.84 kB / 327.3 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.749e-06/0.006186, allocations: 0 / 327.3 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.909e-05/0.006265, allocations: 66.2 kB / 327.4 MB, free: 5.457 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 7.92e-07/0.006266, allocations: 0 / 327.4 MB, free: 5.457 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001047/0.006371, allocations: 57.61 kB / 327.4 MB, free: 5.395 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.006404, allocations: 59.34 kB / 327.5 MB, free: 5.324 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.006515, allocations: 173.5 kB / 327.7 MB, free: 5.141 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.006533, allocations: 29.7 kB / 327.7 MB, free: 5.105 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.06e-05/0.006564, allocations: 100.1 kB / 327.8 MB, free: 5.004 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.006594, allocations: 15.84 kB / 327.8 MB, free: 4.988 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.469e-05/0.006618, allocations: 21.72 kB / 327.8 MB, free: 4.961 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.632e-05/0.006705, allocations: 326.8 kB / 328.1 MB, free: 4.633 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.757e-05/0.006722, allocations: 10.81 kB / 328.1 MB, free: 4.621 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.157e-05/0.006744, allocations: 21.7 kB / 328.2 MB, free: 4.594 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.016e-05/0.006784, allocations: 39.28 kB / 328.2 MB, free: 4.547 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.006786, allocations: 0 / 328.2 MB, free: 4.547 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.819e-05/0.006854, allocations: 64.44 kB / 328.3 MB, free: 4.477 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.006866, allocations: 4 kB / 328.3 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.006873, allocations: 7.938 kB / 328.3 MB, free: 4.465 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.00689, allocations: 4.031 kB / 328.3 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.227e-05/0.006953, allocations: 11.94 kB / 328.3 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.006957, allocations: 0 / 328.3 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.36e-05/0.006991, allocations: 7.984 kB / 328.3 MB, free: 4.441 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.006996, allocations: 0 / 328.3 MB, free: 4.441 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 8.52e-05/0.007081, allocations: 119.5 kB / 328.4 MB, free: 4.316 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.13e-05/0.007093, allocations: 4 kB / 328.4 MB, free: 4.312 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.007194, allocations: 67.14 kB / 328.5 MB, free: 4.242 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.007197, allocations: 0 / 328.5 MB, free: 4.242 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.0072, allocations: 3.938 kB / 328.5 MB, free: 4.238 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.007205, allocations: 7.984 kB / 328.5 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.829e-05/0.007294, allocations: 81.88 kB / 328.6 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.007296, allocations: 0 / 328.6 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.571e-05/0.007311, allocations: 4 kB / 328.6 MB, free: 4.129 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.007314, allocations: 4 kB / 328.6 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.00732, allocations: 4 kB / 328.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.007322, allocations: 0 / 328.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.007323, allocations: 0 / 328.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.178e-05/0.007404, allocations: 90.62 kB / 328.7 MB, free: 4.012 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.227e-05/0.007427, allocations: 15.91 kB / 328.7 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.007445, allocations: 15.98 kB / 328.7 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.998e-05/0.007465, allocations: 0 / 328.7 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.576e-05/0.007491, allocations: 4 kB / 328.7 MB, free: 3.977 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.007501, allocations: 3.984 kB / 328.7 MB, free: 3.973 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.303e-05/0.007544, allocations: 51.59 kB / 328.8 MB, free: 3.918 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007544, allocations: 0 / 328.8 MB, free: 3.918 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001215/0.007666, allocations: 19.92 kB / 328.8 MB, free: 3.898 MB / 298.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001034/0.0087, allocations: 0.498 MB / 329.3 MB, free: 3.664 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.944e-05/0.008779, allocations: 36.78 kB / 329.3 MB, free: 3.625 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.008782, allocations: 3.938 kB / 329.3 MB, free: 3.621 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.416e-05/0.008806, allocations: 16.86 kB / 329.3 MB, free: 3.602 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001176/0.008924, allocations: 23.98 kB / 329.4 MB, free: 3.578 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002742/0.009198, allocations: 198.8 kB / 329.6 MB, free: 3.355 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.353e-05/0.009232, allocations: 67.33 kB / 329.6 MB, free: 3.27 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.814e-05/0.00926, allocations: 12.73 kB / 329.6 MB, free: 3.258 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.703e-05/0.009317, allocations: 63.36 kB / 329.7 MB, free: 3.195 MB / 298.7 MB Notification: Performance of SimCode: time 7.22e-07/0.009318, allocations: 4.062 kB / 329.7 MB, free: 3.191 MB / 298.7 MB Notification: Performance of Templates: time 0.00324/0.01256, allocations: 1.792 MB / 331.5 MB, free: 1.43 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.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.0054898699745536]