Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001373/0.002403, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009256/0.0009256, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00114/0.002066, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9752/0.9752, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1921/1.167, allocations: 52.49 MB / 238.5 MB, free: 7.633 MB / 234.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.1222/0.1222, allocations: 32.79 MB / 272 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02193/0.1441, allocations: 12.54 MB / 284.5 MB, free: 9.723 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 285.9 MB, free: 8.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.335e-05/1.455e-05, allocations: 9.344 kB / 286 MB, free: 8.316 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.001958/0.001972, allocations: 1.799 MB / 287.8 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009992/0.002971, allocations: 0.8804 MB / 288.6 MB, free: 5.617 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.077e-05/0.003042, allocations: 7.938 kB / 288.6 MB, free: 5.609 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002084/0.003251, allocations: 87.58 kB / 288.7 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001723/0.003423, allocations: 87.58 kB / 288.8 MB, free: 5.438 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.003669, allocations: 115.5 kB / 288.9 MB, free: 5.324 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.003826, allocations: 111.7 kB / 289 MB, free: 5.215 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.051e-05/0.003907, allocations: 15.97 kB / 289.1 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.004035, allocations: 91.7 kB / 289.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.61e-05/0.004131, allocations: 51.88 kB / 289.2 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.004149, allocations: 8 kB / 289.2 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.004249, allocations: 63.84 kB / 289.3 MB, free: 4.988 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.967e-05/0.004299, allocations: 27.88 kB / 289.3 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.977e-05/0.004329, allocations: 15.94 kB / 289.3 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.00449, allocations: 111.6 kB / 289.4 MB, free: 4.836 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.05e-05/0.004501, allocations: 0 / 289.4 MB, free: 4.836 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.004501, allocations: 0 / 289.4 MB, free: 4.836 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.004511, allocations: 0 / 289.4 MB, free: 4.836 MB / 282.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.0004455/0.004957, allocations: 347.7 kB / 289.8 MB, free: 4.473 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.004994, allocations: 8.031 kB / 289.8 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/0.005032, allocations: 24.86 kB / 289.8 MB, free: 4.441 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.005192, allocations: 146.1 kB / 289.9 MB, free: 4.273 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.005206, allocations: 384 / 289.9 MB, free: 4.273 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.005226, allocations: 8.375 kB / 289.9 MB, free: 4.266 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.005335, allocations: 69.73 kB / 290 MB, free: 4.188 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.005346, allocations: 11.88 kB / 290 MB, free: 4.176 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.005355, allocations: 4 kB / 290 MB, free: 4.172 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.005362, allocations: 4 kB / 290 MB, free: 4.168 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.636e-05/0.005388, allocations: 11.98 kB / 290 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002193/0.005607, allocations: 178 kB / 290.2 MB, free: 3.965 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.005739, allocations: 89.3 kB / 290.3 MB, free: 3.867 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.007e-05/0.005759, allocations: 12.86 kB / 290.3 MB, free: 3.852 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.919e-06/0.005769, allocations: 0 / 290.3 MB, free: 3.852 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.32e-05/0.005862, allocations: 78.19 kB / 290.4 MB, free: 3.762 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.005863, allocations: 0 / 290.4 MB, free: 3.762 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004096/0.006273, allocations: 169.4 kB / 290.6 MB, free: 3.59 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.006302, allocations: 51.41 kB / 290.6 MB, free: 3.527 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.006414, allocations: 196.2 kB / 290.8 MB, free: 3.32 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.006433, allocations: 33.7 kB / 290.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.667e-05/0.006469, allocations: 99.92 kB / 290.9 MB, free: 3.18 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.006504, allocations: 35.73 kB / 291 MB, free: 3.145 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.006536, allocations: 33.69 kB / 291 MB, free: 3.105 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.873e-05/0.006615, allocations: 326.8 kB / 291.3 MB, free: 2.777 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.809e-05/0.006633, allocations: 14.81 kB / 291.3 MB, free: 2.762 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.489e-05/0.006658, allocations: 21.72 kB / 291.3 MB, free: 2.734 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.721e-05/0.006705, allocations: 60.42 kB / 291.4 MB, free: 2.668 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.006706, allocations: 4 kB / 291.4 MB, free: 2.664 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.098e-05/0.006787, allocations: 84.38 kB / 291.5 MB, free: 2.574 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.0068, allocations: 7.984 kB / 291.5 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.006804, allocations: 0 / 291.5 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.006816, allocations: 0 / 291.5 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.741e-05/0.006873, allocations: 24 kB / 291.5 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.006877, allocations: 3.984 kB / 291.5 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.509e-05/0.006902, allocations: 4 kB / 291.5 MB, free: 2.535 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.006909, allocations: 4 kB / 291.5 MB, free: 2.531 MB / 282.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.584e-05/0.006975, allocations: 120.5 kB / 291.7 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/0.006988, allocations: 11.98 kB / 291.7 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.007106, allocations: 95.16 kB / 291.8 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.007108, allocations: 0 / 291.8 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.007109, allocations: 0 / 291.8 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.007112, allocations: 0 / 291.8 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.007374, allocations: 332.1 kB / 292.1 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.007377, allocations: 4 kB / 292.1 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.368e-05/0.00741, allocations: 19.92 kB / 292.1 MB, free: 1.914 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.561e-05/0.007426, allocations: 15.91 kB / 292.1 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.00743, allocations: 4 kB / 292.1 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.007439, allocations: 8.062 kB / 292.1 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.007443, allocations: 4 kB / 292.1 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.007445, allocations: 0 / 292.1 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.007573, allocations: 235.8 kB / 292.4 MB, free: 1.629 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.007593, allocations: 8 kB / 292.4 MB, free: 1.621 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.781e-05/0.007631, allocations: 0 / 292.4 MB, free: 1.621 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.85e-05/0.00766, allocations: 7.984 kB / 292.4 MB, free: 1.613 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.007675, allocations: 15.92 kB / 292.4 MB, free: 1.598 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.608e-05/0.007721, allocations: 56.7 kB / 292.5 MB, free: 1.539 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007721, allocations: 0 / 292.5 MB, free: 1.539 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001615/0.007882, allocations: 31.94 kB / 292.5 MB, free: 1.508 MB / 282.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.001632/0.009515, allocations: 0.7321 MB / 293.2 MB, free: 1.141 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000115/0.00963, allocations: 44.84 kB / 293.3 MB, free: 1.094 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/0.009638, allocations: 4 kB / 293.3 MB, free: 1.09 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.812e-05/0.009686, allocations: 44.66 kB / 293.3 MB, free: 1.043 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.009935, allocations: 180 kB / 293.5 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004932/0.01043, allocations: 256.6 kB / 293.7 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.885e-05/0.01048, allocations: 75.27 kB / 293.8 MB, free: 472 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.178e-05/0.01052, allocations: 20.62 kB / 293.8 MB, free: 452 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.323e-05/0.01059, allocations: 71.34 kB / 293.9 MB, free: 380 kB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01059, allocations: 4 kB / 293.9 MB, free: 376 kB / 282.7 MB Notification: Performance of Templates: time 0.004023/0.01462, allocations: 2.292 MB / 296.2 MB, free: 14.11 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.880110105499625]