Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.0009063/0.0009063, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001011/0.001011, allocations: 171.5 kB / 24.92 MB, free: 9.188 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.9533/0.9533, allocations: 177.1 MB / 205.3 MB, free: 5.461 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.2532/0.2532, allocations: 32.8 MB / 294.6 MB, free: 1.238 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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.183e-06/1.183e-06, allocations: 0 / 323.3 MB, free: 9.566 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.147e-05, allocations: 4.984 kB / 323.3 MB, free: 9.562 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002364/0.002385, allocations: 1.756 MB / 325.1 MB, free: 7.793 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.003663, allocations: 0.9896 MB / 326.1 MB, free: 6.797 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.883e-05/0.003732, allocations: 4 kB / 326.1 MB, free: 6.793 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000341/0.004073, allocations: 59.67 kB / 326.2 MB, free: 6.734 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002827/0.004355, allocations: 107.5 kB / 326.3 MB, free: 6.629 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000164/0.004519, allocations: 79.59 kB / 326.3 MB, free: 6.551 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.004666, allocations: 107.7 kB / 326.4 MB, free: 6.445 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.101e-05/0.004707, allocations: 4.859 kB / 326.5 MB, free: 6.441 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.919e-05/0.004797, allocations: 63.77 kB / 326.5 MB, free: 6.379 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.557e-05/0.004882, allocations: 39.89 kB / 326.6 MB, free: 6.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.004896, allocations: 4 kB / 326.6 MB, free: 6.336 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.297e-05/0.004959, allocations: 35.92 kB / 326.6 MB, free: 6.301 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.537e-05/0.005014, allocations: 23.86 kB / 326.6 MB, free: 6.277 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.813e-05/0.005042, allocations: 15.92 kB / 326.6 MB, free: 6.262 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.005187, allocations: 91.67 kB / 326.7 MB, free: 6.172 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.005189, allocations: 0 / 326.7 MB, free: 6.172 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.005189, allocations: 0 / 326.7 MB, free: 6.172 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.005193, allocations: 0 / 326.7 MB, free: 6.172 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003559/0.005549, allocations: 313.4 kB / 327 MB, free: 5.844 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.005584, allocations: 8.031 kB / 327 MB, free: 5.836 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.858e-05/0.005613, allocations: 8.938 kB / 327 MB, free: 5.828 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.005771, allocations: 151.4 kB / 327.2 MB, free: 5.656 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.005788, allocations: 8.344 kB / 327.2 MB, free: 5.648 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.005797, allocations: 4.375 kB / 327.2 MB, free: 5.645 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.005899, allocations: 53.77 kB / 327.3 MB, free: 5.582 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.005908, allocations: 3.938 kB / 327.3 MB, free: 5.578 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.782e-06/0.005915, allocations: 7.938 kB / 327.3 MB, free: 5.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.005919, allocations: 0 / 327.3 MB, free: 5.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.797e-05/0.005947, allocations: 11.94 kB / 327.3 MB, free: 5.559 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.429e-05/0.006042, allocations: 66.69 kB / 327.3 MB, free: 5.477 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.129e-05/0.006133, allocations: 45.42 kB / 327.4 MB, free: 5.422 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.941e-05/0.006152, allocations: 12.86 kB / 327.4 MB, free: 5.406 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.006164, allocations: 0 / 327.4 MB, free: 5.406 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.493e-05/0.006249, allocations: 58.22 kB / 327.5 MB, free: 5.336 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 7.52e-07/0.00625, allocations: 0 / 327.5 MB, free: 5.336 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001154/0.006365, allocations: 61.61 kB / 327.5 MB, free: 5.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.006398, allocations: 59.34 kB / 327.6 MB, free: 5.199 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.006499, allocations: 173.5 kB / 327.7 MB, free: 5.016 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.006513, allocations: 25.7 kB / 327.8 MB, free: 4.984 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.128e-05/0.006544, allocations: 104.1 kB / 327.9 MB, free: 4.879 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.006574, allocations: 15.84 kB / 327.9 MB, free: 4.863 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.573e-05/0.0066, allocations: 21.7 kB / 327.9 MB, free: 4.836 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.415e-05/0.006674, allocations: 326.8 kB / 328.2 MB, free: 4.508 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.403e-05/0.006688, allocations: 6.828 kB / 328.2 MB, free: 4.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.898e-05/0.006707, allocations: 21.7 kB / 328.3 MB, free: 4.473 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.864e-05/0.006746, allocations: 39.28 kB / 328.3 MB, free: 4.426 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.006747, allocations: 0 / 328.3 MB, free: 4.426 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.655e-05/0.006814, allocations: 68.75 kB / 328.4 MB, free: 4.352 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.006825, allocations: 4 kB / 328.4 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.006829, allocations: 0 / 328.4 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.00684, allocations: 4 kB / 328.4 MB, free: 4.344 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.391e-05/0.006904, allocations: 15.94 kB / 328.4 MB, free: 4.328 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.006907, allocations: 0 / 328.4 MB, free: 4.328 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.903e-05/0.006936, allocations: 7.984 kB / 328.4 MB, free: 4.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.006941, allocations: 0 / 328.4 MB, free: 4.32 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 (7): * Single equations (assignments): 7 * 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.114e-05/0.007002, allocations: 116.7 kB / 328.5 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/0.007012, allocations: 7.984 kB / 328.5 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.52e-05/0.007097, allocations: 66.81 kB / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.007099, allocations: 0 / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.007102, allocations: 7.922 kB / 328.6 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.007105, allocations: 0 / 328.6 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.381e-05/0.007178, allocations: 81.88 kB / 328.7 MB, free: 4.012 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.00718, allocations: 3.938 kB / 328.7 MB, free: 4.008 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.599e-05/0.007196, allocations: 8 kB / 328.7 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.007197, allocations: 0 / 328.7 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.05e-06/0.007202, allocations: 0 / 328.7 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.007203, allocations: 0 / 328.7 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.007204, allocations: 0 / 328.7 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.25e-05/0.007277, allocations: 98.69 kB / 328.8 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.621e-05/0.007293, allocations: 19.83 kB / 328.8 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.007308, allocations: 7.984 kB / 328.8 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.825e-05/0.007326, allocations: 0 / 328.8 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.39e-05/0.00735, allocations: 4 kB / 328.8 MB, free: 3.852 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.007361, allocations: 3.984 kB / 328.8 MB, free: 3.848 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.187e-05/0.007402, allocations: 51.59 kB / 328.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007403, allocations: 0 / 328.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001217/0.007524, allocations: 23.92 kB / 328.9 MB, free: 3.77 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001092/0.008617, allocations: 0.4946 MB / 329.4 MB, free: 3.535 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.333e-05/0.0087, allocations: 40.78 kB / 329.4 MB, free: 3.492 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.008705, allocations: 0 / 329.4 MB, free: 3.492 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.559e-05/0.00873, allocations: 12.86 kB / 329.4 MB, free: 3.477 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/0.008872, allocations: 35.89 kB / 329.5 MB, free: 3.441 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002969/0.009169, allocations: 194.8 kB / 329.7 MB, free: 3.223 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.636e-05/0.009205, allocations: 67.33 kB / 329.7 MB, free: 3.137 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.244e-05/0.009238, allocations: 16.55 kB / 329.7 MB, free: 3.121 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.466e-05/0.009303, allocations: 75.34 kB / 329.8 MB, free: 3.047 MB / 298.7 MB Notification: Performance of SimCode: time 1.032e-06/0.009304, allocations: 0 / 329.8 MB, free: 3.047 MB / 298.7 MB Notification: Performance of Templates: time 0.00333/0.01263, allocations: 1.773 MB / 331.6 MB, free: 1.305 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.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.7228326802141964]