Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.00105/0.00105, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.00103/0.00103, allocations: 165 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 0.9651/0.9651, allocations: 177.1 MB / 205 MB, free: 5.629 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.2628/0.2628, allocations: 34.26 MB / 295.7 MB, free: 0.7031 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 378.1 MB, free: 2.535 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.274e-05/2.445e-05, allocations: 2.312 kB / 378.1 MB, free: 2.531 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002654/0.002678, allocations: 1.77 MB / 379.9 MB, free: 0.75 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.003995, allocations: 1.009 MB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.256e-05/0.004087, allocations: 3.938 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003501/0.004437, allocations: 43.7 kB / 380.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004023/0.00484, allocations: 91.53 kB / 381 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/0.005043, allocations: 83.59 kB / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.005205, allocations: 115.6 kB / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.781e-05/0.005292, allocations: 11.95 kB / 381.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.49e-05/0.005377, allocations: 55.83 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.076e-05/0.005448, allocations: 23.92 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.005463, allocations: 4 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.237e-05/0.005556, allocations: 47.91 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.258e-05/0.005608, allocations: 15.92 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.572e-05/0.005644, allocations: 15.94 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.005811, allocations: 111.5 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.005813, allocations: 0 / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.005814, allocations: 0 / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.005818, allocations: 0 / 381.5 MB, free: 15.12 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000449/0.006267, allocations: 455.8 kB / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.006307, allocations: 8.031 kB / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.116e-05/0.006368, allocations: 20.84 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.006561, allocations: 149.1 kB / 382.1 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.006583, allocations: 384 / 382.1 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.006609, allocations: 8.312 kB / 382.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.00676, allocations: 62.94 kB / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.006777, allocations: 3.938 kB / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.006788, allocations: 0 / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.006797, allocations: 0 / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.396e-05/0.006841, allocations: 19.98 kB / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.007199, allocations: 291.8 kB / 382.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.007318, allocations: 51.11 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.333e-05/0.007351, allocations: 19.62 kB / 382.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.007362, allocations: 0 / 382.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001121/0.007474, allocations: 77.03 kB / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.007476, allocations: 0 / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003857/0.007861, allocations: 153.3 kB / 382.8 MB, free: 13.69 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.007892, allocations: 55.41 kB / 382.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.008026, allocations: 238.3 kB / 383.1 MB, free: 13.37 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.008038, allocations: 29.7 kB / 383.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.476e-05/0.008093, allocations: 150.9 kB / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.008121, allocations: 23.8 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/0.008155, allocations: 27.38 kB / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.008273, allocations: 0.5001 MB / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.69e-05/0.0083, allocations: 11.94 kB / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.545e-05/0.008336, allocations: 35.36 kB / 383.9 MB, free: 12.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.229e-05/0.008398, allocations: 47.31 kB / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.008399, allocations: 4 kB / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001174/0.008516, allocations: 101.6 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.008529, allocations: 4 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.008535, allocations: 4 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.008549, allocations: 0 / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.352e-05/0.008622, allocations: 16 kB / 384 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.008628, allocations: 0 / 384 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.108e-05/0.008659, allocations: 11.92 kB / 384 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.008665, allocations: 4 kB / 384 MB, free: 12.36 MB / 362.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 (10): * Single equations (assignments): 10 * 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.011e-05/0.008745, allocations: 172 kB / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.008759, allocations: 11.95 kB / 384.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.008909, allocations: 107.1 kB / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.008912, allocations: 0 / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.008915, allocations: 0 / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.008919, allocations: 0 / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002856/0.009205, allocations: 396.9 kB / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.009206, allocations: 0 / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.672e-05/0.009233, allocations: 15.98 kB / 384.7 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.009235, allocations: 0 / 384.7 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.009244, allocations: 8.031 kB / 384.7 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.009247, allocations: 0 / 384.7 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.009248, allocations: 0 / 384.7 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.009395, allocations: 255.4 kB / 385 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.992e-05/0.009415, allocations: 11.91 kB / 385 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.009434, allocations: 8.375 kB / 385 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.906e-05/0.009473, allocations: 7.922 kB / 385 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.009508, allocations: 7.984 kB / 385 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.009523, allocations: 8 kB / 385 MB, free: 11.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.869e-05/0.009602, allocations: 172.1 kB / 385.2 MB, free: 11.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009602, allocations: 4 kB / 385.2 MB, free: 11.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001799/0.009782, allocations: 27.94 kB / 385.2 MB, free: 11.09 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: 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 (9): * Single equations (assignments): 7 * 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.001033/0.01081, allocations: 432.3 kB / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001499/0.01096, allocations: 51.59 kB / 385.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01097, allocations: 0 / 385.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.372e-05/0.01101, allocations: 31.67 kB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.01126, allocations: 35.34 kB / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003768/0.01163, allocations: 222 kB / 386 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.566e-05/0.01168, allocations: 67.34 kB / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.96e-05/0.01172, allocations: 16.97 kB / 386.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.01175, allocations: 16.5 kB / 386.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01175, allocations: 0 / 386.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of Templates: time 0.004111/0.01586, allocations: 2.009 MB / 388.1 MB, free: 8.348 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.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.162004267796874]