Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.001314/0.001314, 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.001171/0.001171, allocations: 170.4 kB / 24.91 MB, free: 8.641 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.9797/0.9797, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2763/0.2763, allocations: 34.27 MB / 296.1 MB, free: 0.7188 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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 325.4 MB, free: 7.559 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.488e-05, allocations: 5.016 kB / 325.4 MB, free: 7.555 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.00266/0.002684, allocations: 1.756 MB / 327.1 MB, free: 5.785 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.003781, allocations: 1.002 MB / 328.1 MB, free: 4.777 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.867e-05/0.00384, allocations: 0 / 328.1 MB, free: 4.777 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002431/0.004083, allocations: 51.69 kB / 328.2 MB, free: 4.727 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.004301, allocations: 99.47 kB / 328.3 MB, free: 4.629 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001176/0.004418, allocations: 79.59 kB / 328.4 MB, free: 4.551 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000135/0.004553, allocations: 107.7 kB / 328.5 MB, free: 4.445 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.504e-05/0.004588, allocations: 8.234 kB / 328.5 MB, free: 4.438 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.211e-05/0.00467, allocations: 59.77 kB / 328.5 MB, free: 4.379 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.531e-05/0.004746, allocations: 35.89 kB / 328.6 MB, free: 4.344 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.004758, allocations: 4 kB / 328.6 MB, free: 4.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.667e-05/0.004815, allocations: 27.94 kB / 328.6 MB, free: 4.312 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.83e-05/0.004853, allocations: 19.92 kB / 328.6 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.945e-05/0.004883, allocations: 24.41 kB / 328.6 MB, free: 4.27 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.005012, allocations: 75.75 kB / 328.7 MB, free: 4.195 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.402e-06/0.005014, allocations: 0 / 328.7 MB, free: 4.195 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.005014, allocations: 0 / 328.7 MB, free: 4.195 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.005018, allocations: 7.938 kB / 328.7 MB, free: 4.188 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.000319/0.005337, allocations: 317.6 kB / 329 MB, free: 3.855 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.005378, allocations: 11.97 kB / 329 MB, free: 3.844 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.649e-05/0.005404, allocations: 4.938 kB / 329 MB, free: 3.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.005529, allocations: 137.7 kB / 329.2 MB, free: 3.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.005542, allocations: 8.375 kB / 329.2 MB, free: 3.672 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.873e-06/0.005548, allocations: 384 / 329.2 MB, free: 3.672 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.285e-05/0.005631, allocations: 57.77 kB / 329.2 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.005639, allocations: 3.938 kB / 329.2 MB, free: 3.602 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-06/0.005644, allocations: 0 / 329.2 MB, free: 3.602 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.005648, allocations: 4 kB / 329.3 MB, free: 3.598 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.801e-05/0.005666, allocations: 8 kB / 329.3 MB, free: 3.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.034e-05/0.005746, allocations: 74.62 kB / 329.3 MB, free: 3.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.202e-05/0.005818, allocations: 37.38 kB / 329.4 MB, free: 3.453 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.685e-05/0.005835, allocations: 12.86 kB / 329.4 MB, free: 3.438 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-06/0.005843, allocations: 0 / 329.4 MB, free: 3.438 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.497e-05/0.005918, allocations: 66.2 kB / 329.4 MB, free: 3.359 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 6.61e-07/0.005919, allocations: 0 / 329.4 MB, free: 3.359 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 9.875e-05/0.006018, allocations: 57.61 kB / 329.5 MB, free: 3.297 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.006042, allocations: 59.34 kB / 329.6 MB, free: 3.227 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.238e-05/0.006134, allocations: 170.1 kB / 329.7 MB, free: 3.047 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.006147, allocations: 25.7 kB / 329.8 MB, free: 3.016 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.578e-05/0.006173, allocations: 96.11 kB / 329.8 MB, free: 2.918 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.006199, allocations: 15.89 kB / 329.9 MB, free: 2.902 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.328e-05/0.006222, allocations: 17.72 kB / 329.9 MB, free: 2.879 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.896e-05/0.006301, allocations: 318.8 kB / 330.2 MB, free: 2.559 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.006317, allocations: 14.77 kB / 330.2 MB, free: 2.543 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.103e-05/0.006338, allocations: 25.69 kB / 330.2 MB, free: 2.512 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.91e-05/0.006377, allocations: 43.55 kB / 330.3 MB, free: 2.461 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.006379, allocations: 0 / 330.3 MB, free: 2.461 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.861e-05/0.006438, allocations: 52.52 kB / 330.3 MB, free: 2.402 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.00645, allocations: 11.98 kB / 330.3 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.006453, allocations: 0 / 330.3 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.006465, allocations: 0 / 330.3 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.829e-05/0.006513, allocations: 19.88 kB / 330.4 MB, free: 2.371 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-06/0.006516, allocations: 4 kB / 330.4 MB, free: 2.367 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.281e-05/0.006539, allocations: 0 / 330.4 MB, free: 2.367 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-06/0.006543, allocations: 0 / 330.4 MB, free: 2.367 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 5.436e-05/0.006597, allocations: 121.5 kB / 330.5 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.063e-05/0.006608, allocations: 8 kB / 330.5 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.57e-05/0.006684, allocations: 66.77 kB / 330.6 MB, free: 2.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.006685, allocations: 0 / 330.6 MB, free: 2.16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.006688, allocations: 7.922 kB / 330.6 MB, free: 2.152 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.006691, allocations: 0 / 330.6 MB, free: 2.152 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.661e-05/0.006757, allocations: 93.73 kB / 330.6 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.006759, allocations: 4 kB / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.362e-05/0.006772, allocations: 4 kB / 330.7 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.006773, allocations: 0 / 330.7 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-06/0.006778, allocations: 4 kB / 330.7 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.006779, allocations: 0 / 330.7 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.006779, allocations: 0 / 330.7 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.014e-05/0.00684, allocations: 90.83 kB / 330.7 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.808e-06/0.006849, allocations: 8.016 kB / 330.8 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.006863, allocations: 8 kB / 330.8 MB, free: 1.906 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.739e-05/0.00688, allocations: 3.984 kB / 330.8 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.125e-05/0.006901, allocations: 11.94 kB / 330.8 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.006908, allocations: 0 / 330.8 MB, free: 1.891 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.524e-05/0.006944, allocations: 48.28 kB / 330.8 MB, free: 1.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006944, allocations: 0 / 330.8 MB, free: 1.84 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001078/0.007052, allocations: 24 kB / 330.9 MB, free: 1.816 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.0009714/0.008023, allocations: 0.5048 MB / 331.4 MB, free: 1.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.861e-05/0.008092, allocations: 24.84 kB / 331.4 MB, free: 1.543 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.008094, allocations: 0 / 331.4 MB, free: 1.543 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.724e-05/0.008121, allocations: 24.78 kB / 331.4 MB, free: 1.516 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001213/0.008242, allocations: 30.31 kB / 331.4 MB, free: 1.488 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002512/0.008494, allocations: 195.4 kB / 331.6 MB, free: 1.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.304e-05/0.008527, allocations: 67.36 kB / 331.7 MB, free: 1.184 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.694e-05/0.008554, allocations: 12.48 kB / 331.7 MB, free: 1.172 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.458e-05/0.008608, allocations: 63.38 kB / 331.8 MB, free: 1.105 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.008609, allocations: 0 / 331.8 MB, free: 1.105 MB / 298.7 MB Notification: Performance of Templates: time 0.00299/0.0116, allocations: 1.766 MB / 333.5 MB, free: 15.37 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.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.9108476359397173]