Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.001382/0.001382, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001495/0.001495, allocations: 161 kB / 24.56 MB, free: 16 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.065/1.065, allocations: 177.1 MB / 205 MB, free: 5.625 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.2793/0.2793, allocations: 34.27 MB / 295.7 MB, free: 0.707 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 3.938 kB / 378.1 MB, free: 2.559 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.296e-05/3.468e-05, allocations: 10.25 kB / 378.1 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.00257/0.002605, allocations: 1.84 MB / 380 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002021/0.004626, allocations: 1.8 MB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.00474, allocations: 4 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003636/0.005104, allocations: 55.61 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004973/0.005601, allocations: 151.2 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.005872, allocations: 107.6 kB / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002879/0.00616, allocations: 211.2 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.811e-05/0.006219, allocations: 5.812 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.00638, allocations: 111.7 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.006539, allocations: 67.8 kB / 382.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.006564, allocations: 11.94 kB / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001929/0.006756, allocations: 103.9 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.755e-05/0.006824, allocations: 43.77 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.396e-05/0.006878, allocations: 35.86 kB / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00032/0.007198, allocations: 203.2 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.007202, allocations: 0 / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.007203, allocations: 0 / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.007209, allocations: 0 / 382.9 MB, free: 13.79 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000613/0.007822, allocations: 0.5188 MB / 383.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.007865, allocations: 8.031 kB / 383.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.8e-05/0.007943, allocations: 24.8 kB / 383.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.008193, allocations: 196.2 kB / 383.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.008216, allocations: 4.359 kB / 383.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.00823, allocations: 4.375 kB / 383.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.008428, allocations: 161.1 kB / 383.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.008438, allocations: 3.938 kB / 383.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.008453, allocations: 7.984 kB / 383.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.008461, allocations: 0 / 383.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.469e-05/0.008506, allocations: 23.92 kB / 383.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001869/0.008693, allocations: 164.4 kB / 384 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.00884, allocations: 106.1 kB / 384.1 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.208e-05/0.008882, allocations: 27.36 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.008896, allocations: 4 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001404/0.009036, allocations: 112.3 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.009037, allocations: 4 kB / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.000292/0.009329, allocations: 149.8 kB / 384.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.009384, allocations: 128.5 kB / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.009586, allocations: 282.7 kB / 384.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.009604, allocations: 33.7 kB / 384.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.034e-05/0.009664, allocations: 162.9 kB / 384.9 MB, free: 11.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.009701, allocations: 23.8 kB / 385 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/0.00974, allocations: 35.36 kB / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.009856, allocations: 0.5001 MB / 385.5 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.502e-05/0.009891, allocations: 16.05 kB / 385.5 MB, free: 10.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.049e-05/0.009962, allocations: 133.5 kB / 385.6 MB, free: 10.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.377e-05/0.01006, allocations: 74.67 kB / 385.7 MB, free: 10.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01006, allocations: 0 / 385.7 MB, free: 10.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001422/0.0102, allocations: 125.4 kB / 385.8 MB, free: 10.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.01021, allocations: 4 kB / 385.8 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.01022, allocations: 3.938 kB / 385.9 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.01023, allocations: 4 kB / 385.9 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.351e-05/0.01032, allocations: 28.02 kB / 385.9 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.01032, allocations: 4 kB / 385.9 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.891e-05/0.01037, allocations: 8 kB / 385.9 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.01038, allocations: 4 kB / 385.9 MB, free: 10.4 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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 8.354e-05/0.01046, allocations: 168.5 kB / 386.1 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.01049, allocations: 23.86 kB / 386.1 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002001/0.01069, allocations: 146.9 kB / 386.2 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.01069, allocations: 4 kB / 386.2 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.0107, allocations: 0 / 386.2 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.0107, allocations: 4 kB / 386.2 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.01082, allocations: 176.5 kB / 386.4 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01082, allocations: 0 / 386.4 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.974e-05/0.01085, allocations: 12 kB / 386.4 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.01085, allocations: 0 / 386.4 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.01086, allocations: 3.984 kB / 386.4 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.01086, allocations: 7.938 kB / 386.4 MB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01087, allocations: 0 / 386.4 MB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.01105, allocations: 183.8 kB / 386.6 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.767e-05/0.01108, allocations: 19.91 kB / 386.6 MB, free: 9.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.01111, allocations: 4 kB / 386.6 MB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.403e-05/0.01115, allocations: 15.92 kB / 386.7 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.0112, allocations: 11.98 kB / 386.7 MB, free: 9.559 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.01122, allocations: 4 kB / 386.7 MB, free: 9.555 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001287/0.01135, allocations: 201.8 kB / 386.9 MB, free: 9.359 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01135, allocations: 0 / 386.9 MB, free: 9.359 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002387/0.01159, allocations: 55.86 kB / 386.9 MB, free: 9.305 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (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.00119/0.01277, allocations: 0.4962 MB / 387.4 MB, free: 8.984 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001929/0.01297, allocations: 67.59 kB / 387.5 MB, free: 8.914 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01297, allocations: 0 / 387.5 MB, free: 8.914 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.292e-05/0.01302, allocations: 43.55 kB / 387.5 MB, free: 8.867 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.0133, allocations: 75.36 kB / 387.6 MB, free: 8.801 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000485/0.01378, allocations: 286.3 kB / 387.9 MB, free: 8.484 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.899e-05/0.01383, allocations: 75.98 kB / 388 MB, free: 8.391 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.787e-05/0.01393, allocations: 33.95 kB / 388 MB, free: 8.359 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.068e-05/0.01399, allocations: 24.48 kB / 388 MB, free: 8.336 MB / 362.7 MB Notification: Performance of SimCode: time 1.123e-06/0.01399, allocations: 0 / 388 MB, free: 8.336 MB / 362.7 MB Notification: Performance of Templates: time 0.006137/0.02013, allocations: 3.746 MB / 391.8 MB, free: 4.645 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.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.4182177986949682]