Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.001466/0.001466, allocations: 80.92 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.001105/0.001105, allocations: 167.8 kB / 24.91 MB, free: 8.77 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 1.078/1.078, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2683/0.2683, allocations: 32.8 MB / 294.6 MB, free: 1.246 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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 323.3 MB, free: 9.598 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.767e-05/1.92e-05, allocations: 6.312 kB / 323.3 MB, free: 9.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003195/0.003215, allocations: 1.882 MB / 325.2 MB, free: 7.699 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.005111, allocations: 1.091 MB / 326.3 MB, free: 6.602 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.005212, allocations: 3.938 kB / 326.3 MB, free: 6.598 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005416/0.005753, allocations: 307.1 kB / 326.6 MB, free: 6.297 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005809/0.006334, allocations: 255 kB / 326.9 MB, free: 6.047 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.006602, allocations: 111.6 kB / 327 MB, free: 5.938 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003392/0.006941, allocations: 267.2 kB / 327.2 MB, free: 5.676 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.194e-05/0.007013, allocations: 10.47 kB / 327.2 MB, free: 5.668 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002543/0.007267, allocations: 159.5 kB / 327.4 MB, free: 5.512 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002509/0.007518, allocations: 172.4 kB / 327.6 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.819e-05/0.007546, allocations: 8 kB / 327.6 MB, free: 5.336 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.007666, allocations: 51.91 kB / 327.6 MB, free: 5.285 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.007813, allocations: 143.6 kB / 327.8 MB, free: 5.145 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.102e-05/0.007904, allocations: 79.64 kB / 327.8 MB, free: 5.066 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003753/0.008279, allocations: 278.9 kB / 328.1 MB, free: 4.793 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.008281, allocations: 0 / 328.1 MB, free: 4.793 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.008282, allocations: 3.938 kB / 328.1 MB, free: 4.789 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.008288, allocations: 0 / 328.1 MB, free: 4.789 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008823/0.00917, allocations: 0.6393 MB / 328.8 MB, free: 4.125 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.009209, allocations: 8.031 kB / 328.8 MB, free: 4.117 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.706e-05/0.009276, allocations: 32.91 kB / 328.8 MB, free: 4.086 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003934/0.009669, allocations: 301.9 kB / 329.1 MB, free: 3.766 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.009688, allocations: 4.359 kB / 329.1 MB, free: 3.762 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.009701, allocations: 8.375 kB / 329.1 MB, free: 3.754 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.009864, allocations: 91.39 kB / 329.2 MB, free: 3.648 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.009874, allocations: 3.938 kB / 329.2 MB, free: 3.645 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.009885, allocations: 4 kB / 329.2 MB, free: 3.641 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.009892, allocations: 4 kB / 329.2 MB, free: 3.637 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.909e-05/0.009941, allocations: 17.64 kB / 329.2 MB, free: 3.617 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002038/0.01014, allocations: 126.2 kB / 329.4 MB, free: 3.473 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.01029, allocations: 82.78 kB / 329.4 MB, free: 3.371 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.352e-05/0.01034, allocations: 25.72 kB / 329.5 MB, free: 3.34 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.01035, allocations: 3.984 kB / 329.5 MB, free: 3.336 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001533/0.01051, allocations: 103.8 kB / 329.6 MB, free: 3.215 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.01051, allocations: 0 / 329.6 MB, free: 3.215 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002154/0.01072, allocations: 107.2 kB / 329.7 MB, free: 3.098 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.01077, allocations: 81.05 kB / 329.7 MB, free: 3 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006196/0.01139, allocations: 0.6101 MB / 330.4 MB, free: 2.375 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.01141, allocations: 29.7 kB / 330.4 MB, free: 2.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.597e-05/0.01149, allocations: 145.3 kB / 330.5 MB, free: 2.191 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.889e-05/0.01154, allocations: 35.72 kB / 330.6 MB, free: 2.156 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-05/0.01159, allocations: 25.7 kB / 330.6 MB, free: 2.125 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.01172, allocations: 366.7 kB / 330.9 MB, free: 1.758 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.785e-05/0.01176, allocations: 14.83 kB / 331 MB, free: 1.742 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.065e-05/0.01181, allocations: 47.41 kB / 331 MB, free: 1.684 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.221e-05/0.0119, allocations: 67.81 kB / 331.1 MB, free: 1.602 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.0119, allocations: 0 / 331.1 MB, free: 1.602 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001763/0.01208, allocations: 111.8 kB / 331.2 MB, free: 1.484 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.01209, allocations: 7.984 kB / 331.2 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.0121, allocations: 4 kB / 331.2 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.01212, allocations: 4.062 kB / 331.2 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.01222, allocations: 19.94 kB / 331.2 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.01222, allocations: 7.984 kB / 331.2 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.989e-05/0.0123, allocations: 8 kB / 331.2 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.01232, allocations: 7.938 kB / 331.2 MB, free: 1.426 MB / 298.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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001148/0.01243, allocations: 117.3 kB / 331.4 MB, free: 1.301 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.186e-05/0.01248, allocations: 31.95 kB / 331.4 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002035/0.01269, allocations: 121.9 kB / 331.5 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.01269, allocations: 4 kB / 331.5 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.01269, allocations: 3.938 kB / 331.5 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.0127, allocations: 4 kB / 331.5 MB, free: 1.133 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.01291, allocations: 165.6 kB / 331.7 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01291, allocations: 0 / 331.7 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.037e-05/0.01296, allocations: 15.98 kB / 331.7 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.01296, allocations: 0 / 331.7 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.01297, allocations: 0 / 331.7 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.01298, allocations: 4 kB / 331.7 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01298, allocations: 0 / 331.7 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.01315, allocations: 142.9 kB / 331.8 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000303/0.01346, allocations: 55.64 kB / 331.9 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.908e-05/0.01351, allocations: 12 kB / 331.9 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.656e-05/0.01358, allocations: 4 kB / 331.9 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.01362, allocations: 8.109 kB / 331.9 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.562e-05/0.01365, allocations: 19.92 kB / 331.9 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003934/0.01404, allocations: 315.2 kB / 332.2 MB, free: 372 kB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.01404, allocations: 0 / 332.2 MB, free: 372 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.000263/0.01431, allocations: 51.92 kB / 332.3 MB, free: 320 kB / 298.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001583/0.01589, allocations: 0.5 MB / 332.8 MB, free: 80 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001461/0.01603, allocations: 56.78 kB / 332.9 MB, free: 20 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.01604, allocations: 4 kB / 332.9 MB, free: 16 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.624e-05/0.01612, allocations: 28.89 kB / 332.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.01643, allocations: 69.67 kB / 333 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009445/0.01737, allocations: 0.6693 MB / 333.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.01749, allocations: 132.2 kB / 333.7 MB, free: 15.06 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.0176, allocations: 50.88 kB / 333.8 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/0.01776, allocations: 91.36 kB / 333.9 MB, free: 14.92 MB / 314.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01776, allocations: 0 / 333.9 MB, free: 14.92 MB / 314.7 MB Notification: Performance of Templates: time 0.009107/0.02687, allocations: 4.319 MB / 338.2 MB, free: 10.68 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.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: 2.995167179964483]