Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.0009051/0.0009051, allocations: 81.97 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.0008811/0.0008811, allocations: 164.8 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.9191/0.9191, allocations: 177.1 MB / 206 MB, free: 4.5 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.1588/0.1588, allocations: 34.26 MB / 296.8 MB, free: 13.94 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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 3.938 kB / 379.4 MB, free: 23.33 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.238e-05, allocations: 2.312 kB / 379.4 MB, free: 23.33 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002168/0.00219, allocations: 1.757 MB / 381.1 MB, free: 21.56 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.003285, allocations: 0.9897 MB / 382.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.779e-05/0.003363, allocations: 0 / 382.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000285/0.003648, allocations: 35.78 kB / 382.2 MB, free: 20.53 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002922/0.00394, allocations: 103.4 kB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.004133, allocations: 83.59 kB / 382.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.004273, allocations: 103.7 kB / 382.4 MB, free: 20.24 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.298e-05/0.004356, allocations: 11.98 kB / 382.5 MB, free: 20.23 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.213e-05/0.004428, allocations: 55.78 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.401e-05/0.004492, allocations: 27.89 kB / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.004506, allocations: 12 kB / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.121e-05/0.004587, allocations: 43.92 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.394e-05/0.004631, allocations: 19.86 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.922e-05/0.00466, allocations: 19.92 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.004807, allocations: 103.6 kB / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.004809, allocations: 0 / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.004811, allocations: 0 / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.004815, allocations: 3.984 kB / 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003273/0.005142, allocations: 443.9 kB / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.005172, allocations: 8.031 kB / 383.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.005206, allocations: 20.84 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.005321, allocations: 153.1 kB / 383.3 MB, free: 19.28 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.005335, allocations: 384 / 383.3 MB, free: 19.28 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.005351, allocations: 4.375 kB / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.564e-05/0.005437, allocations: 62.88 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.005447, allocations: 3.938 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.005454, allocations: 0 / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.00546, allocations: 4 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.28e-05/0.005482, allocations: 7.984 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002001/0.005683, allocations: 272.3 kB / 383.7 MB, free: 18.89 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.079e-05/0.005763, allocations: 55.11 kB / 383.7 MB, free: 18.83 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.86e-05/0.005782, allocations: 11.69 kB / 383.8 MB, free: 18.81 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.005792, allocations: 0 / 383.8 MB, free: 18.81 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.108e-05/0.005863, allocations: 72.95 kB / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.005864, allocations: 0 / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002799/0.006144, allocations: 133.5 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.161e-05/0.006166, allocations: 59.41 kB / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.54e-05/0.006241, allocations: 229.8 kB / 384.2 MB, free: 18.28 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.785e-06/0.006249, allocations: 25.7 kB / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.144e-05/0.006281, allocations: 154.9 kB / 384.4 MB, free: 18.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.006302, allocations: 27.78 kB / 384.4 MB, free: 18.06 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.006329, allocations: 27.36 kB / 384.5 MB, free: 18.03 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.646e-05/0.006375, allocations: 0.5001 MB / 385 MB, free: 17.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.466e-05/0.00639, allocations: 8 kB / 385 MB, free: 17.51 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.256e-05/0.006413, allocations: 35.3 kB / 385 MB, free: 17.46 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.384e-05/0.006457, allocations: 43.42 kB / 385.1 MB, free: 17.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.006458, allocations: 0 / 385.1 MB, free: 17.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.752e-05/0.006545, allocations: 101.5 kB / 385.2 MB, free: 17.31 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.006557, allocations: 4 kB / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.006561, allocations: 384 / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.006571, allocations: 3.938 kB / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.854e-05/0.006629, allocations: 16 kB / 385.2 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.006631, allocations: 0 / 385.2 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.896e-05/0.00666, allocations: 11.98 kB / 385.2 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.006665, allocations: 4 kB / 385.2 MB, free: 17.27 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 (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 5.028e-05/0.006716, allocations: 160.5 kB / 385.4 MB, free: 17.1 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.006732, allocations: 23.84 kB / 385.4 MB, free: 17.08 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.006845, allocations: 103.1 kB / 385.5 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.006847, allocations: 0 / 385.5 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.006848, allocations: 0 / 385.5 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.006851, allocations: 0 / 385.5 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.00704, allocations: 361.6 kB / 385.8 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.007041, allocations: 0 / 385.8 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.43e-05/0.007065, allocations: 11.98 kB / 385.8 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.007068, allocations: 0 / 385.8 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.007075, allocations: 4 kB / 385.8 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.007076, allocations: 0 / 385.8 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.007077, allocations: 32 / 385.8 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.439e-05/0.007172, allocations: 259.7 kB / 386.1 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.848e-06/0.007182, allocations: 11.95 kB / 386.1 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.007197, allocations: 3.984 kB / 386.1 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.025e-05/0.007237, allocations: 4 kB / 386.1 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.372e-05/0.007261, allocations: 7.984 kB / 386.1 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.007272, allocations: 4 kB / 386.1 MB, free: 16.25 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.077e-05/0.007313, allocations: 167.1 kB / 386.3 MB, free: 16.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007313, allocations: 0 / 386.3 MB, free: 16.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001809/0.007494, allocations: 23.94 kB / 386.3 MB, free: 16.07 MB / 314.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.0008359/0.00833, allocations: 450.4 kB / 386.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001036/0.008433, allocations: 47.55 kB / 386.8 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.008435, allocations: 3.938 kB / 386.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.867e-05/0.008464, allocations: 31.67 kB / 386.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.008681, allocations: 34.75 kB / 386.9 MB, free: 15.67 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002584/0.00894, allocations: 219.8 kB / 387.1 MB, free: 15.42 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.636e-05/0.008966, allocations: 75.33 kB / 387.2 MB, free: 15.33 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.171e-05/0.008998, allocations: 16.97 kB / 387.2 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.173e-05/0.009049, allocations: 86.19 kB / 387.3 MB, free: 15.22 MB / 314.7 MB Notification: Performance of SimCode: time 4.71e-07/0.00905, allocations: 0 / 387.3 MB, free: 15.22 MB / 314.7 MB Notification: Performance of Templates: time 0.003451/0.0125, allocations: 2.059 MB / 389.3 MB, free: 13.19 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.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.099490825086832]