Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.001316/0.001316, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001622/0.002938, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001007/0.001007, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001399/0.002406, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9833/0.9833, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08087/1.064, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.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.2721/0.2721, allocations: 34.26 MB / 278.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02616/0.2983, allocations: 13.1 MB / 291.5 MB, free: 7.332 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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 292.9 MB, free: 6.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.688e-06/1.099e-05, allocations: 3.406 kB / 292.9 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.00185/0.001861, allocations: 1.812 MB / 294.7 MB, free: 4.297 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.003407, allocations: 1.018 MB / 295.8 MB, free: 3.273 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.173e-05/0.003469, allocations: 0 / 295.8 MB, free: 3.273 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001784/0.003647, allocations: 47.58 kB / 295.8 MB, free: 3.227 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.003832, allocations: 91.48 kB / 295.9 MB, free: 3.137 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000135/0.003967, allocations: 87.55 kB / 296 MB, free: 3.051 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.004092, allocations: 107.6 kB / 296.1 MB, free: 2.945 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.013e-05/0.004152, allocations: 7.984 kB / 296.1 MB, free: 2.938 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.004256, allocations: 83.81 kB / 296.2 MB, free: 2.855 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.322e-05/0.004319, allocations: 23.91 kB / 296.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.004331, allocations: 4 kB / 296.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.869e-05/0.0044, allocations: 47.86 kB / 296.3 MB, free: 2.781 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.869e-05/0.004439, allocations: 19.92 kB / 296.3 MB, free: 2.762 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.692e-05/0.004466, allocations: 15.94 kB / 296.3 MB, free: 2.746 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.004593, allocations: 95.61 kB / 296.4 MB, free: 2.652 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.004601, allocations: 0 / 296.4 MB, free: 2.652 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.004602, allocations: 4 kB / 296.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.004611, allocations: 0 / 296.4 MB, free: 2.648 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003267/0.004937, allocations: 337 kB / 296.7 MB, free: 2.297 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.406e-05/0.004961, allocations: 11.97 kB / 296.7 MB, free: 2.285 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.76e-05/0.004989, allocations: 16.92 kB / 296.7 MB, free: 2.27 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.005103, allocations: 142.3 kB / 296.9 MB, free: 2.105 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.005114, allocations: 384 / 296.9 MB, free: 2.105 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.005129, allocations: 8.375 kB / 296.9 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.617e-05/0.005205, allocations: 57.77 kB / 296.9 MB, free: 2.031 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.005212, allocations: 3.938 kB / 296.9 MB, free: 2.027 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.11e-06/0.005217, allocations: 8 kB / 297 MB, free: 2.02 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.005221, allocations: 0 / 297 MB, free: 2.02 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.105e-05/0.005242, allocations: 11.98 kB / 297 MB, free: 2.008 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.005398, allocations: 165.9 kB / 297.1 MB, free: 1.828 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.352e-05/0.005472, allocations: 85.28 kB / 297.2 MB, free: 1.734 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.747e-05/0.005489, allocations: 16.86 kB / 297.2 MB, free: 1.715 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-06/0.005497, allocations: 4 kB / 297.2 MB, free: 1.711 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.847e-05/0.005566, allocations: 62.14 kB / 297.3 MB, free: 1.637 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.005567, allocations: 11.98 kB / 297.3 MB, free: 1.625 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002374/0.005805, allocations: 117.5 kB / 297.4 MB, free: 1.504 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.005831, allocations: 51.41 kB / 297.5 MB, free: 1.441 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.485e-05/0.005926, allocations: 181.2 kB / 297.6 MB, free: 1.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.005943, allocations: 37.69 kB / 297.7 MB, free: 1.207 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.099e-05/0.005974, allocations: 92.12 kB / 297.8 MB, free: 1.113 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.005995, allocations: 19.84 kB / 297.8 MB, free: 1.094 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/0.006023, allocations: 21.7 kB / 297.8 MB, free: 1.066 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.907e-05/0.006092, allocations: 322.8 kB / 298.1 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.61e-05/0.006108, allocations: 14.81 kB / 298.1 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.988e-05/0.006128, allocations: 29.7 kB / 298.2 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.767e-05/0.006166, allocations: 44.5 kB / 298.2 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.006167, allocations: 3.938 kB / 298.2 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.025e-05/0.006227, allocations: 72.5 kB / 298.3 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/0.006236, allocations: 4 kB / 298.3 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.00624, allocations: 4 kB / 298.3 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.774e-06/0.006248, allocations: 0 / 298.3 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.317e-05/0.006301, allocations: 15.94 kB / 298.3 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-06/0.006304, allocations: 4 kB / 298.3 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.474e-05/0.006329, allocations: 12.02 kB / 298.3 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.006334, allocations: 4 kB / 298.3 MB, free: 0.5156 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 (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.784e-05/0.006392, allocations: 116.6 kB / 298.4 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.305e-05/0.006405, allocations: 15.92 kB / 298.5 MB, free: 384 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.576e-05/0.006491, allocations: 71.08 kB / 298.5 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.006493, allocations: 4 kB / 298.5 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.006495, allocations: 0 / 298.5 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.006498, allocations: 0 / 298.5 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.006692, allocations: 303.4 kB / 298.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.006693, allocations: 8.031 kB / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.3e-05/0.006716, allocations: 8 kB / 298.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.197e-05/0.006728, allocations: 7.953 kB / 298.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.006729, allocations: 0 / 298.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.006735, allocations: 7.984 kB / 298.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.006736, allocations: 3.938 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.006737, allocations: 0 / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.692e-05/0.006834, allocations: 215 kB / 299.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.006847, allocations: 4 kB / 299.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.507e-05/0.006882, allocations: 0 / 299.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.332e-05/0.006905, allocations: 11.98 kB / 299.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.527e-06/0.006915, allocations: 8.375 kB / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.999e-05/0.006955, allocations: 51.64 kB / 299.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006955, allocations: 0 / 299.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001331/0.007088, allocations: 23.98 kB / 299.2 MB, free: 15.6 MB / 298.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.001264/0.008352, allocations: 0.6487 MB / 299.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.253e-05/0.008435, allocations: 44.83 kB / 299.9 MB, free: 15.26 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.008441, allocations: 0 / 299.9 MB, free: 15.26 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.967e-05/0.00848, allocations: 36.72 kB / 299.9 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.008682, allocations: 180.4 kB / 300.1 MB, free: 15.01 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003844/0.009067, allocations: 219.9 kB / 300.3 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.727e-05/0.009104, allocations: 71.33 kB / 300.4 MB, free: 14.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.16e-05/0.009136, allocations: 12.97 kB / 300.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.003e-05/0.009196, allocations: 67.38 kB / 300.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of SimCode: time 3.8e-07/0.009196, allocations: 0 / 300.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of Templates: time 0.003223/0.01242, allocations: 2.053 MB / 302.5 MB, free: 12.59 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.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: 3.013286340981722]