Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001959/0.001959, allocations: 92.31 kB / 20.96 MB, free: 3.469 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.002429/0.002429, allocations: 157.7 kB / 24.27 MB, free: 168 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.564/1.564, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.342/0.342, allocations: 32.79 MB / 293.9 MB, free: 1.211 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 375.3 MB, free: 4.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.915e-05/3.081e-05, allocations: 9.625 kB / 375.3 MB, free: 4.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003524/0.003554, allocations: 1.797 MB / 377.1 MB, free: 3.078 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003188/0.006742, allocations: 1.746 MB / 378.9 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.006871, allocations: 0 / 378.9 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003599/0.007231, allocations: 55.62 kB / 378.9 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005321/0.007763, allocations: 143.3 kB / 379.1 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.008076, allocations: 111.5 kB / 379.2 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003416/0.008418, allocations: 211.2 kB / 379.4 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.002e-05/0.008468, allocations: 9.812 kB / 379.4 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.008675, allocations: 107.7 kB / 379.5 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.008872, allocations: 71.73 kB / 379.6 MB, free: 0.625 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.008904, allocations: 8 kB / 379.6 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00024/0.009143, allocations: 107.9 kB / 379.7 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.539e-05/0.009229, allocations: 31.84 kB / 379.7 MB, free: 492 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.81e-05/0.009307, allocations: 43.84 kB / 379.8 MB, free: 448 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004117/0.009719, allocations: 239.2 kB / 380 MB, free: 208 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.009722, allocations: 0 / 380 MB, free: 208 kB / 346.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.009722, allocations: 0 / 380 MB, free: 208 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.009728, allocations: 0 / 380 MB, free: 208 kB / 346.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.0008185/0.01055, allocations: 424.9 kB / 380.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.01059, allocations: 8.031 kB / 380.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.806e-05/0.01068, allocations: 28.77 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004334/0.01112, allocations: 189.4 kB / 380.6 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.01113, allocations: 4.375 kB / 380.6 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.01115, allocations: 4.375 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002997/0.01145, allocations: 153 kB / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.01147, allocations: 7.875 kB / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.01148, allocations: 4 kB / 380.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.01149, allocations: 0 / 380.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.01162, allocations: 35.97 kB / 380.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002762/0.0119, allocations: 166.1 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003436/0.01224, allocations: 105.2 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.01236, allocations: 41.7 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.01238, allocations: 7.938 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002595/0.01264, allocations: 109 kB / 381.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.01264, allocations: 0 / 381.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007266/0.01337, allocations: 181.4 kB / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.01348, allocations: 132.5 kB / 381.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003461/0.01382, allocations: 248.1 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.01385, allocations: 29.7 kB / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.01395, allocations: 124.1 kB / 382 MB, free: 14.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.596e-05/0.01401, allocations: 23.84 kB / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.761e-05/0.01408, allocations: 33.7 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.01428, allocations: 330.8 kB / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.01438, allocations: 27.98 kB / 382.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.01456, allocations: 127.9 kB / 382.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.01479, allocations: 91.84 kB / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01479, allocations: 4.031 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003723/0.01516, allocations: 157.4 kB / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.01518, allocations: 4 kB / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.01518, allocations: 3.938 kB / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.0152, allocations: 4 kB / 382.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.01533, allocations: 19.98 kB / 382.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.01534, allocations: 4 kB / 382.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.01545, allocations: 11.94 kB / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.01546, allocations: 4 kB / 382.8 MB, free: 13.13 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 0.0001628/0.01562, allocations: 141.8 kB / 382.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.084e-05/0.01568, allocations: 23.86 kB / 382.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004246/0.01611, allocations: 170.7 kB / 383.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.01611, allocations: 0 / 383.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.01611, allocations: 0 / 383.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.01612, allocations: 4 kB / 383.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.01635, allocations: 157.2 kB / 383.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/0.01635, allocations: 4 kB / 383.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.379e-05/0.01641, allocations: 11.98 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.01641, allocations: 4 kB / 383.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.01643, allocations: 4 kB / 383.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.01643, allocations: 3.938 kB / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01643, allocations: 0 / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000414/0.01685, allocations: 197.9 kB / 383.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.82e-05/0.01688, allocations: 11.91 kB / 383.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.506e-05/0.01693, allocations: 15.98 kB / 383.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.208e-05/0.01701, allocations: 7.938 kB / 383.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.01e-05/0.01707, allocations: 11.98 kB / 383.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.01709, allocations: 4 kB / 383.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002403/0.01733, allocations: 185.8 kB / 383.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01733, allocations: 0 / 383.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003342/0.01767, allocations: 59.86 kB / 383.8 MB, free: 12.07 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.00237/0.02004, allocations: 0.5302 MB / 384.3 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003204/0.02036, allocations: 87.84 kB / 384.4 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.02036, allocations: 4 kB / 384.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.0205, allocations: 39.97 kB / 384.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004496/0.02095, allocations: 73.89 kB / 384.5 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007116/0.02166, allocations: 301.7 kB / 384.8 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.02181, allocations: 115.4 kB / 384.9 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001113/0.02192, allocations: 37.94 kB / 385 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.71e-05/0.02201, allocations: 36.48 kB / 385 MB, free: 11.03 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.02201, allocations: 0 / 385 MB, free: 11.03 MB / 362.7 MB Notification: Performance of Templates: time 0.008607/0.03061, allocations: 3.427 MB / 388.4 MB, free: 7.656 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.886890550027601]