Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.001325/0.001325, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.001399/0.001399, allocations: 161 kB / 24.56 MB, free: 12 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.02/1.02, allocations: 177.1 MB / 205 MB, free: 5.25 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.2713/0.2713, allocations: 32.81 MB / 294.3 MB, free: 1.234 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 376.1 MB, free: 4.609 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.492e-05/3.694e-05, allocations: 9.484 kB / 376.1 MB, free: 4.602 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003609/0.003646, allocations: 1.766 MB / 377.9 MB, free: 2.82 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.005515, allocations: 1.013 MB / 378.9 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.005627, allocations: 0 / 378.9 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003879/0.006015, allocations: 39.7 kB / 378.9 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004416/0.006456, allocations: 95.47 kB / 379 MB, free: 1.668 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.006727, allocations: 83.61 kB / 379.1 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.006938, allocations: 107.7 kB / 379.2 MB, free: 1.48 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.007045, allocations: 4 kB / 379.2 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.007164, allocations: 63.75 kB / 379.3 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.927e-05/0.007264, allocations: 23.92 kB / 379.3 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.007285, allocations: 4 kB / 379.3 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.0074, allocations: 47.91 kB / 379.3 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.121e-05/0.007461, allocations: 15.92 kB / 379.4 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.387e-05/0.007505, allocations: 15.94 kB / 379.4 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.007729, allocations: 103.6 kB / 379.5 MB, free: 1.207 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.007733, allocations: 0 / 379.5 MB, free: 1.207 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.007734, allocations: 0 / 379.5 MB, free: 1.207 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.007739, allocations: 4 kB / 379.5 MB, free: 1.203 MB / 346.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.0005445/0.008284, allocations: 439.9 kB / 379.9 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.008327, allocations: 12.03 kB / 379.9 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.541e-05/0.008383, allocations: 8.891 kB / 379.9 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.008595, allocations: 154.7 kB / 380.1 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.008616, allocations: 384 / 380.1 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.008647, allocations: 12.36 kB / 380.1 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.008812, allocations: 62.94 kB / 380.1 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.008826, allocations: 3.938 kB / 380.2 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.008838, allocations: 0 / 380.2 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.008846, allocations: 4 kB / 380.2 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.961e-05/0.008896, allocations: 15.92 kB / 380.2 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.009265, allocations: 279.8 kB / 380.4 MB, free: 132 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.009389, allocations: 51.17 kB / 380.5 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.615e-05/0.009426, allocations: 19.61 kB / 380.5 MB, free: 44 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.009442, allocations: 0 / 380.5 MB, free: 44 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/0.009578, allocations: 77.02 kB / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.009579, allocations: 3.938 kB / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004707/0.01005, allocations: 157.6 kB / 380.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.01009, allocations: 55.41 kB / 380.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.01024, allocations: 219.2 kB / 381 MB, free: 15.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.01026, allocations: 25.7 kB / 381 MB, free: 15.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.051e-05/0.01032, allocations: 146.8 kB / 381.2 MB, free: 15.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.226e-05/0.01035, allocations: 27.78 kB / 381.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.391e-05/0.0104, allocations: 31.38 kB / 381.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.01053, allocations: 0.4923 MB / 381.7 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.346e-05/0.01057, allocations: 11.98 kB / 381.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.288e-05/0.01061, allocations: 35.36 kB / 381.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.534e-05/0.01068, allocations: 55.25 kB / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.01069, allocations: 0 / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001446/0.01083, allocations: 93.53 kB / 381.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.01085, allocations: 7.984 kB / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.01085, allocations: 0 / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.01087, allocations: 0 / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.662e-05/0.01096, allocations: 16 kB / 381.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.01097, allocations: 0 / 381.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.757e-05/0.01101, allocations: 4 kB / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.01102, allocations: 3.984 kB / 382 MB, free: 14.5 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 9.667e-05/0.01111, allocations: 168.5 kB / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.01114, allocations: 11.95 kB / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002061/0.01134, allocations: 106.5 kB / 382.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.01135, allocations: 4 kB / 382.2 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.01135, allocations: 0 / 382.2 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.01135, allocations: 0 / 382.2 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003929/0.01175, allocations: 388.9 kB / 382.6 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.01176, allocations: 4 kB / 382.6 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.683e-05/0.0118, allocations: 11.94 kB / 382.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.01181, allocations: 4.031 kB / 382.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.01182, allocations: 7.984 kB / 382.6 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.01182, allocations: 4 kB / 382.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.01182, allocations: 0 / 382.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.01204, allocations: 255.4 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.01206, allocations: 7.953 kB / 382.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.01208, allocations: 3.938 kB / 382.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.578e-05/0.01215, allocations: 8 kB / 382.9 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.0122, allocations: 3.984 kB / 382.9 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.01221, allocations: 4 kB / 382.9 MB, free: 13.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001012/0.01231, allocations: 171.2 kB / 383.1 MB, free: 13.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01231, allocations: 0 / 383.1 MB, free: 13.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002958/0.01261, allocations: 31.92 kB / 383.1 MB, free: 13.23 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.001253/0.01386, allocations: 436.8 kB / 383.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001658/0.01403, allocations: 51.59 kB / 383.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01403, allocations: 0 / 383.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.719e-05/0.01409, allocations: 31.61 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.01445, allocations: 40.05 kB / 383.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004908/0.01495, allocations: 210.7 kB / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.824e-05/0.015, allocations: 63.34 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.189e-05/0.01506, allocations: 16.95 kB / 384 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.619e-05/0.0151, allocations: 16.5 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.0151, allocations: 0 / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of Templates: time 0.005015/0.02012, allocations: 1.868 MB / 385.8 MB, free: 10.64 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.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.312970179133117]