Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.001091/0.001091, 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.001262/0.001262, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.9422/0.9422, allocations: 177.1 MB / 206.1 MB, free: 4.477 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.1419/0.1419, allocations: 34.27 MB / 296.9 MB, free: 13.91 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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.064e-05/2.217e-05, allocations: 14.25 kB / 379.4 MB, free: 23.31 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002192/0.002214, allocations: 1.739 MB / 381.1 MB, free: 21.55 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.003378, allocations: 0.9935 MB / 382.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.401e-05/0.003462, allocations: 3.938 kB / 382.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.003748, allocations: 43.75 kB / 382.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002767/0.004025, allocations: 103.5 kB / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001678/0.004192, allocations: 83.59 kB / 382.4 MB, free: 20.32 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.004328, allocations: 99.64 kB / 382.4 MB, free: 20.23 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.971e-05/0.004418, allocations: 15.98 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.738e-05/0.004495, allocations: 55.77 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.91e-05/0.004564, allocations: 27.91 kB / 382.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.00458, allocations: 4 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.43e-05/0.004655, allocations: 47.91 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.363e-05/0.004698, allocations: 19.94 kB / 382.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.004729, allocations: 23.92 kB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.004876, allocations: 107.6 kB / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.004879, allocations: 0 / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.00488, allocations: 0 / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.004885, allocations: 0 / 382.7 MB, free: 19.93 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.0003643/0.00525, allocations: 459.8 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.005286, allocations: 8.031 kB / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/0.005324, allocations: 16.84 kB / 383.2 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.005447, allocations: 156.4 kB / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.005464, allocations: 384 / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.00548, allocations: 8.359 kB / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.808e-05/0.005579, allocations: 58.94 kB / 383.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.005588, allocations: 7.938 kB / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.005595, allocations: 0 / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.0056, allocations: 0 / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.314e-05/0.005623, allocations: 15.94 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001899/0.005813, allocations: 260.4 kB / 383.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.104e-05/0.005894, allocations: 51.11 kB / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.956e-05/0.005914, allocations: 15.69 kB / 383.8 MB, free: 18.78 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.005926, allocations: 0 / 383.8 MB, free: 18.78 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.923e-05/0.006015, allocations: 76.91 kB / 383.9 MB, free: 18.69 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.006016, allocations: 0 / 383.9 MB, free: 18.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003305/0.006346, allocations: 133.5 kB / 384 MB, free: 18.55 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.326e-05/0.00637, allocations: 55.41 kB / 384 MB, free: 18.49 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.721e-05/0.006457, allocations: 246.2 kB / 384.3 MB, free: 18.23 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.006465, allocations: 25.7 kB / 384.3 MB, free: 18.2 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.548e-05/0.0065, allocations: 154.8 kB / 384.5 MB, free: 18.04 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.006521, allocations: 19.84 kB / 384.5 MB, free: 18.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.006549, allocations: 31.36 kB / 384.5 MB, free: 17.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.671e-05/0.006595, allocations: 0.5001 MB / 385 MB, free: 17.47 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.543e-05/0.006611, allocations: 8 kB / 385 MB, free: 17.46 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.334e-05/0.006634, allocations: 31.36 kB / 385 MB, free: 17.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.165e-05/0.006676, allocations: 55.34 kB / 385.1 MB, free: 17.36 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.006677, allocations: 0 / 385.1 MB, free: 17.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.773e-05/0.006765, allocations: 93.47 kB / 385.2 MB, free: 17.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.006776, allocations: 4 kB / 385.2 MB, free: 17.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.006781, allocations: 0 / 385.2 MB, free: 17.26 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.006789, allocations: 0 / 385.2 MB, free: 17.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.492e-05/0.006854, allocations: 20.36 kB / 385.2 MB, free: 17.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.006857, allocations: 0 / 385.2 MB, free: 17.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.787e-05/0.006885, allocations: 4 kB / 385.2 MB, free: 17.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.006891, allocations: 8 kB / 385.2 MB, free: 17.23 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.308e-05/0.006944, allocations: 160.6 kB / 385.4 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.006959, allocations: 15.89 kB / 385.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.007085, allocations: 107 kB / 385.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.007087, allocations: 3.984 kB / 385.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.007089, allocations: 0 / 385.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.007092, allocations: 0 / 385.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.007301, allocations: 369.5 kB / 385.9 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.007303, allocations: 0 / 385.9 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.817e-05/0.007331, allocations: 11.94 kB / 385.9 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.007333, allocations: 4 kB / 385.9 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.007339, allocations: 4.031 kB / 385.9 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.00734, allocations: 3.938 kB / 385.9 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.007342, allocations: 4 kB / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.811e-05/0.00744, allocations: 255.7 kB / 386.1 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.131e-05/0.007452, allocations: 15.94 kB / 386.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.007466, allocations: 4 kB / 386.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.089e-05/0.007507, allocations: 0 / 386.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.365e-05/0.007531, allocations: 7.984 kB / 386.2 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.007543, allocations: 8 kB / 386.2 MB, free: 16.2 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.065e-05/0.007584, allocations: 164.2 kB / 386.3 MB, free: 16.04 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007584, allocations: 4 kB / 386.3 MB, free: 16.03 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001699/0.007754, allocations: 23.98 kB / 386.4 MB, free: 16.01 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.000898/0.008652, allocations: 441.3 kB / 386.8 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001002/0.008752, allocations: 59.52 kB / 386.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.008754, allocations: 0 / 386.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.095e-05/0.008785, allocations: 31.61 kB / 386.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.00902, allocations: 30.77 kB / 386.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003027/0.009323, allocations: 231.9 kB / 387.1 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.021e-05/0.009353, allocations: 75.19 kB / 387.2 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.631e-05/0.009389, allocations: 12.97 kB / 387.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.698e-05/0.009446, allocations: 86.19 kB / 387.3 MB, free: 15.16 MB / 314.7 MB Notification: Performance of SimCode: time 8.11e-07/0.009447, allocations: 0 / 387.3 MB, free: 15.16 MB / 314.7 MB Notification: Performance of Templates: time 0.003519/0.01297, allocations: 2.057 MB / 389.4 MB, free: 13.13 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.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.1245720791630447]