Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.0009181/0.0009181, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.0008937/0.0008937, allocations: 171.5 kB / 24.91 MB, free: 8.723 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.9608/0.9608, allocations: 177.1 MB / 205.3 MB, free: 5.094 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.2775/0.2775, allocations: 34.26 MB / 296.1 MB, free: 0.6719 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 325.3 MB, free: 7.609 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.451e-05/1.583e-05, allocations: 5.266 kB / 325.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002088/0.002104, allocations: 1.771 MB / 327.1 MB, free: 5.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.003415, allocations: 1.018 MB / 328.1 MB, free: 4.797 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.192e-05/0.003497, allocations: 0 / 328.1 MB, free: 4.797 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002892/0.003786, allocations: 83.64 kB / 328.2 MB, free: 4.715 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.004049, allocations: 119.4 kB / 328.3 MB, free: 4.598 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.004208, allocations: 91.53 kB / 328.4 MB, free: 4.508 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.004349, allocations: 119.7 kB / 328.5 MB, free: 4.391 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.173e-05/0.004421, allocations: 11.98 kB / 328.6 MB, free: 4.379 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.237e-05/0.004503, allocations: 75.73 kB / 328.6 MB, free: 4.305 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.323e-05/0.004587, allocations: 47.89 kB / 328.7 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.0046, allocations: 7.984 kB / 328.7 MB, free: 4.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.241e-05/0.004683, allocations: 59.92 kB / 328.7 MB, free: 4.191 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.42e-05/0.004727, allocations: 27.86 kB / 328.8 MB, free: 4.164 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.076e-05/0.004758, allocations: 24.41 kB / 328.8 MB, free: 4.141 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.004905, allocations: 115.5 kB / 328.9 MB, free: 4.027 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.004907, allocations: 0 / 328.9 MB, free: 4.027 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004907, allocations: 0 / 328.9 MB, free: 4.027 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.125e-06/0.00491, allocations: 0 / 328.9 MB, free: 4.027 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003326/0.005243, allocations: 341.4 kB / 329.2 MB, free: 3.672 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.716e-05/0.00527, allocations: 16.03 kB / 329.3 MB, free: 3.656 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.005297, allocations: 8.938 kB / 329.3 MB, free: 3.648 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.005433, allocations: 153.5 kB / 329.4 MB, free: 3.473 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.005447, allocations: 4.375 kB / 329.4 MB, free: 3.469 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.005465, allocations: 384 / 329.4 MB, free: 3.469 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.00557, allocations: 69.7 kB / 329.5 MB, free: 3.391 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.00558, allocations: 3.938 kB / 329.5 MB, free: 3.387 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.005589, allocations: 0 / 329.5 MB, free: 3.387 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.005596, allocations: 7.984 kB / 329.5 MB, free: 3.379 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.544e-05/0.005621, allocations: 11.98 kB / 329.5 MB, free: 3.367 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001895/0.005811, allocations: 177.8 kB / 329.7 MB, free: 3.176 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.00594, allocations: 97.34 kB / 329.8 MB, free: 3.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.031e-05/0.00596, allocations: 20.78 kB / 329.8 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.586e-06/0.005969, allocations: 0 / 329.8 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.393e-05/0.006043, allocations: 66.14 kB / 329.9 MB, free: 2.969 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 7.42e-07/0.006043, allocations: 0 / 329.9 MB, free: 2.969 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003514/0.006395, allocations: 174 kB / 330 MB, free: 2.793 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.006421, allocations: 55.41 kB / 330.1 MB, free: 2.727 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.006529, allocations: 185.1 kB / 330.3 MB, free: 2.527 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.006541, allocations: 25.7 kB / 330.3 MB, free: 2.496 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.291e-05/0.006573, allocations: 104.1 kB / 330.4 MB, free: 2.391 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.0066, allocations: 31.69 kB / 330.4 MB, free: 2.359 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.006632, allocations: 29.7 kB / 330.5 MB, free: 2.324 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.48e-05/0.006717, allocations: 330.8 kB / 330.8 MB, free: 1.992 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.858e-05/0.006735, allocations: 14.77 kB / 330.8 MB, free: 1.977 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.705e-05/0.006762, allocations: 29.7 kB / 330.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.067e-05/0.006813, allocations: 54.36 kB / 330.9 MB, free: 1.883 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.006814, allocations: 4 kB / 330.9 MB, free: 1.879 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.757e-05/0.006891, allocations: 80.42 kB / 331 MB, free: 1.793 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.006902, allocations: 8 kB / 331 MB, free: 1.785 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-06/0.006905, allocations: 0 / 331 MB, free: 1.785 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.006917, allocations: 0 / 331 MB, free: 1.785 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.079e-05/0.006968, allocations: 23.98 kB / 331 MB, free: 1.762 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.006973, allocations: 4.172 kB / 331 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.463e-05/0.006997, allocations: 4 kB / 331 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.83e-06/0.007002, allocations: 0 / 331 MB, free: 1.754 MB / 298.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 (13): * Single equations (assignments): 13 * 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.37e-05/0.007066, allocations: 124.6 kB / 331.1 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.00708, allocations: 15.98 kB / 331.1 MB, free: 1.605 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.007191, allocations: 96.95 kB / 331.2 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.007193, allocations: 4 kB / 331.2 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.007195, allocations: 0 / 331.2 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.007199, allocations: 3.984 kB / 331.2 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.007436, allocations: 324.2 kB / 331.5 MB, free: 1.148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.007438, allocations: 4 kB / 331.6 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.058e-05/0.007469, allocations: 19.92 kB / 331.6 MB, free: 1.125 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.007471, allocations: 4.062 kB / 331.6 MB, free: 1.121 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.007477, allocations: 4 kB / 331.6 MB, free: 1.117 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.007478, allocations: 4 kB / 331.6 MB, free: 1.113 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.007479, allocations: 0 / 331.6 MB, free: 1.113 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.007585, allocations: 227.9 kB / 331.8 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.119e-05/0.007596, allocations: 11.91 kB / 331.8 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.007612, allocations: 8 kB / 331.8 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.139e-05/0.007654, allocations: 7.984 kB / 331.8 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.469e-05/0.007679, allocations: 15.92 kB / 331.8 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.007689, allocations: 3.938 kB / 331.9 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.272e-05/0.007731, allocations: 61.55 kB / 331.9 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007731, allocations: 4 kB / 331.9 MB, free: 0.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001473/0.007879, allocations: 31.94 kB / 331.9 MB, free: 0.7188 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001339/0.009218, allocations: 0.6488 MB / 332.6 MB, free: 416 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001168/0.009335, allocations: 51.53 kB / 332.6 MB, free: 364 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.009338, allocations: 0 / 332.6 MB, free: 364 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.915e-05/0.009378, allocations: 36.78 kB / 332.7 MB, free: 324 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.009555, allocations: 39.27 kB / 332.7 MB, free: 288 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002983/0.009853, allocations: 255.4 kB / 333 MB, free: 0 / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.212e-05/0.009906, allocations: 71.33 kB / 333 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.778e-05/0.009943, allocations: 20.62 kB / 333.1 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.627e-05/0.01001, allocations: 75.36 kB / 333.1 MB, free: 15.82 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01001, allocations: 0 / 333.1 MB, free: 15.82 MB / 314.7 MB Notification: Performance of Templates: time 0.003568/0.01358, allocations: 2.294 MB / 335.4 MB, free: 13.56 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.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.902198475319892]