Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.001117/0.001117, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001287/0.001287, allocations: 167.6 kB / 25.61 MB, free: 8.902 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.945/0.945, allocations: 177.1 MB / 206 MB, free: 4.496 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.1399/0.1399, allocations: 34.27 MB / 296.9 MB, free: 13.93 MB / 282.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 379.4 MB, free: 23.34 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.096e-05/1.233e-05, allocations: 2.312 kB / 379.4 MB, free: 23.34 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.001796/0.001809, allocations: 1.699 MB / 381.1 MB, free: 21.63 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.002853, allocations: 0.9819 MB / 382.1 MB, free: 20.64 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.836e-05/0.002931, allocations: 0 / 382.1 MB, free: 20.64 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00031/0.003241, allocations: 87.62 kB / 382.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002454/0.003487, allocations: 123.4 kB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001098/0.003596, allocations: 71.62 kB / 382.3 MB, free: 20.36 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.00372, allocations: 119.7 kB / 382.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.62e-05/0.003756, allocations: 4.234 kB / 382.5 MB, free: 20.24 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.239e-05/0.003828, allocations: 67.75 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.377e-05/0.003902, allocations: 43.89 kB / 382.6 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.003915, allocations: 4 kB / 382.6 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.402e-05/0.003969, allocations: 39.91 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.932e-05/0.004009, allocations: 19.92 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.904e-05/0.004038, allocations: 19.88 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.00416, allocations: 95.66 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.182e-06/0.004161, allocations: 0 / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.004162, allocations: 4 kB / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.004165, allocations: 0 / 382.7 MB, free: 19.95 MB / 314.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.0003266/0.004492, allocations: 455.8 kB / 383.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.004522, allocations: 8.031 kB / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/0.004553, allocations: 12.89 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.004669, allocations: 156.4 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.004684, allocations: 384 / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.004692, allocations: 4.375 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.862e-05/0.00477, allocations: 54.94 kB / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.004778, allocations: 7.875 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-06/0.004784, allocations: 4 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.004789, allocations: 0 / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.08e-05/0.00481, allocations: 15.92 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.832e-05/0.004898, allocations: 109.3 kB / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.279e-05/0.004971, allocations: 47.11 kB / 383.6 MB, free: 18.99 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.715e-05/0.004988, allocations: 15.67 kB / 383.6 MB, free: 18.97 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-06/0.004997, allocations: 0 / 383.6 MB, free: 18.97 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.799e-05/0.005065, allocations: 69.03 kB / 383.7 MB, free: 18.89 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 5.41e-07/0.005066, allocations: 0 / 383.7 MB, free: 18.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.000127/0.005193, allocations: 89.45 kB / 383.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.779e-05/0.00521, allocations: 51.41 kB / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.701e-05/0.005297, allocations: 243.5 kB / 384.1 MB, free: 18.47 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.336e-06/0.005306, allocations: 29.7 kB / 384.1 MB, free: 18.44 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.539e-05/0.005341, allocations: 150.9 kB / 384.2 MB, free: 18.29 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.005368, allocations: 19.83 kB / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-05/0.005393, allocations: 27.36 kB / 384.3 MB, free: 18.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.343e-05/0.005456, allocations: 0.5001 MB / 384.8 MB, free: 17.72 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.481e-05/0.005471, allocations: 11.97 kB / 384.8 MB, free: 17.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.058e-05/0.005492, allocations: 19.38 kB / 384.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.603e-05/0.005528, allocations: 43.3 kB / 384.9 MB, free: 17.63 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.00553, allocations: 0 / 384.9 MB, free: 17.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.173e-05/0.005601, allocations: 69.86 kB / 384.9 MB, free: 17.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.005614, allocations: 7.984 kB / 384.9 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.005619, allocations: 0 / 384.9 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.005631, allocations: 7.938 kB / 384.9 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.565e-05/0.005687, allocations: 12 kB / 384.9 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.005691, allocations: 160 / 384.9 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.493e-05/0.005726, allocations: 8 kB / 385 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.005731, allocations: 4.031 kB / 385 MB, free: 17.52 MB / 314.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 6.796e-05/0.005799, allocations: 160.6 kB / 385.1 MB, free: 17.35 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/0.005814, allocations: 15.91 kB / 385.1 MB, free: 17.33 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.005921, allocations: 86.75 kB / 385.2 MB, free: 17.24 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.005923, allocations: 3.938 kB / 385.2 MB, free: 17.24 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.005925, allocations: 0 / 385.2 MB, free: 17.24 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.005929, allocations: 0 / 385.2 MB, free: 17.24 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.388e-05/0.006003, allocations: 129.1 kB / 385.3 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.32e-07/0.006004, allocations: 0 / 385.3 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.653e-05/0.00602, allocations: 4 kB / 385.3 MB, free: 17.08 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.006022, allocations: 4 kB / 385.4 MB, free: 17.08 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.94e-06/0.006027, allocations: 0 / 385.4 MB, free: 17.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.006029, allocations: 4 kB / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.00603, allocations: 0 / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.215e-05/0.006112, allocations: 120.2 kB / 385.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.351e-05/0.006125, allocations: 11.95 kB / 385.5 MB, free: 16.92 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.006143, allocations: 4 kB / 385.5 MB, free: 16.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.979e-05/0.006162, allocations: 4 kB / 385.5 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/0.006193, allocations: 3.984 kB / 385.5 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.006206, allocations: 7.938 kB / 385.5 MB, free: 16.9 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.535e-05/0.006261, allocations: 177.6 kB / 385.7 MB, free: 16.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006261, allocations: 8 kB / 385.7 MB, free: 16.72 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001427/0.006404, allocations: 19.94 kB / 385.7 MB, free: 16.7 MB / 314.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.0007733/0.007177, allocations: 375.8 kB / 386.1 MB, free: 16.47 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.644e-05/0.007254, allocations: 47.59 kB / 386.1 MB, free: 16.42 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.007255, allocations: 0 / 386.1 MB, free: 16.42 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.512e-05/0.00728, allocations: 23.67 kB / 386.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.007445, allocations: 26.77 kB / 386.2 MB, free: 16.37 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002409/0.007686, allocations: 206.7 kB / 386.4 MB, free: 16.14 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.065e-05/0.007707, allocations: 71.19 kB / 386.4 MB, free: 16.05 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.581e-05/0.007732, allocations: 16.47 kB / 386.5 MB, free: 16.03 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.798e-05/0.00778, allocations: 94.25 kB / 386.5 MB, free: 15.94 MB / 314.7 MB Notification: Performance of SimCode: time 6.81e-07/0.007781, allocations: 0 / 386.5 MB, free: 15.94 MB / 314.7 MB Notification: Performance of Templates: time 0.002919/0.0107, allocations: 1.802 MB / 388.4 MB, free: 14.16 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.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.9611527621746063]