Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.001189/0.001189, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001818/0.003007, allocations: 449.7 kB / 10.37 MB, free: 328 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.001118/0.001118, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001418/0.002536, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 1.024/1.024, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1132/1.137, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.2678/0.2678, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02417/0.292, allocations: 12.52 MB / 289.3 MB, free: 8.676 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.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 290.7 MB, free: 7.582 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.919e-05/2.068e-05, allocations: 3.438 kB / 290.7 MB, free: 7.578 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.00312/0.003141, allocations: 1.814 MB / 292.5 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.004884, allocations: 1.015 MB / 293.5 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.332e-05/0.004967, allocations: 4.219 kB / 293.5 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000198/0.005165, allocations: 39.75 kB / 293.6 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002486/0.005414, allocations: 95.53 kB / 293.7 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.005599, allocations: 83.59 kB / 293.7 MB, free: 5.152 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.005738, allocations: 107.6 kB / 293.8 MB, free: 5.047 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.984e-05/0.005808, allocations: 12.73 kB / 293.9 MB, free: 5.035 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.005918, allocations: 79.75 kB / 293.9 MB, free: 4.957 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.505e-05/0.005983, allocations: 27.91 kB / 294 MB, free: 4.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.005995, allocations: 4 kB / 294 MB, free: 4.926 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.231e-05/0.006077, allocations: 43.92 kB / 294 MB, free: 4.883 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.837e-05/0.006116, allocations: 19.92 kB / 294 MB, free: 4.863 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.302e-05/0.006149, allocations: 15.94 kB / 294 MB, free: 4.848 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.006292, allocations: 95.56 kB / 294.1 MB, free: 4.754 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.642e-05/0.006309, allocations: 4 kB / 294.1 MB, free: 4.75 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.006309, allocations: 0 / 294.1 MB, free: 4.75 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.695e-05/0.006326, allocations: 0 / 294.1 MB, free: 4.75 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.0004409/0.006767, allocations: 340.5 kB / 294.5 MB, free: 4.395 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.0068, allocations: 12.02 kB / 294.5 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.12e-05/0.006831, allocations: 4.938 kB / 294.5 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.006986, allocations: 150.3 kB / 294.6 MB, free: 4.207 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.007002, allocations: 384 / 294.6 MB, free: 4.207 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.007019, allocations: 4.375 kB / 294.6 MB, free: 4.203 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.007127, allocations: 65.75 kB / 294.7 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.007137, allocations: 11.88 kB / 294.7 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.007145, allocations: 0 / 294.7 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.007151, allocations: 4 kB / 294.7 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.524e-05/0.007176, allocations: 4 kB / 294.7 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002055/0.007382, allocations: 165.9 kB / 294.9 MB, free: 3.93 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.344e-05/0.007475, allocations: 85.36 kB / 295 MB, free: 3.836 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.005e-05/0.007495, allocations: 8.859 kB / 295 MB, free: 3.824 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.007507, allocations: 3.984 kB / 295 MB, free: 3.82 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001043/0.007612, allocations: 78.08 kB / 295.1 MB, free: 3.73 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.007613, allocations: 3.938 kB / 295.1 MB, free: 3.727 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002918/0.007905, allocations: 113.7 kB / 295.2 MB, free: 3.609 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.007944, allocations: 55.41 kB / 295.2 MB, free: 3.543 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.008056, allocations: 180.8 kB / 295.4 MB, free: 3.352 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.008071, allocations: 25.7 kB / 295.4 MB, free: 3.32 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.19e-05/0.008103, allocations: 92.11 kB / 295.5 MB, free: 3.227 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.00813, allocations: 23.84 kB / 295.5 MB, free: 3.203 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.008167, allocations: 25.7 kB / 295.6 MB, free: 3.172 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.427e-05/0.008262, allocations: 326.8 kB / 295.9 MB, free: 2.844 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.626e-05/0.008278, allocations: 10.83 kB / 295.9 MB, free: 2.832 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.053e-05/0.008308, allocations: 25.83 kB / 295.9 MB, free: 2.801 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.569e-05/0.008354, allocations: 48.45 kB / 296 MB, free: 2.746 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.008355, allocations: 0 / 296 MB, free: 2.746 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.765e-05/0.008433, allocations: 72.38 kB / 296 MB, free: 2.668 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.008447, allocations: 4 kB / 296 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.008451, allocations: 0 / 296 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.008461, allocations: 0 / 296 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.823e-05/0.008539, allocations: 19.98 kB / 296.1 MB, free: 2.645 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.008543, allocations: 4.031 kB / 296.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.831e-05/0.008571, allocations: 8 kB / 296.1 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.008576, allocations: 0 / 296.1 MB, free: 2.633 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 7.745e-05/0.008654, allocations: 124.6 kB / 296.2 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.389e-05/0.008668, allocations: 15.92 kB / 296.2 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.008771, allocations: 79.22 kB / 296.3 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.008774, allocations: 0 / 296.3 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.008775, allocations: 0 / 296.3 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.008778, allocations: 0 / 296.3 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.009032, allocations: 303.4 kB / 296.6 MB, free: 2.078 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.009035, allocations: 0 / 296.6 MB, free: 2.078 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.115e-05/0.009066, allocations: 15.98 kB / 296.6 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.062e-05/0.009076, allocations: 7.953 kB / 296.6 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.009079, allocations: 0 / 296.6 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.009085, allocations: 7.938 kB / 296.6 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.009088, allocations: 4 kB / 296.6 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.009088, allocations: 0 / 296.6 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.00919, allocations: 211.1 kB / 296.8 MB, free: 1.816 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.009204, allocations: 7.922 kB / 296.8 MB, free: 1.809 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.963e-05/0.009244, allocations: 11.94 kB / 296.9 MB, free: 1.797 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.009271, allocations: 12.02 kB / 296.9 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.009281, allocations: 0 / 296.9 MB, free: 1.785 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.162e-05/0.009323, allocations: 55.62 kB / 296.9 MB, free: 1.727 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009323, allocations: 0 / 296.9 MB, free: 1.727 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001437/0.009467, allocations: 24 kB / 296.9 MB, free: 1.703 MB / 282.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.001404/0.01087, allocations: 0.6288 MB / 297.6 MB, free: 1.43 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001087/0.01098, allocations: 40.72 kB / 297.6 MB, free: 1.387 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/0.01099, allocations: 4 kB / 297.6 MB, free: 1.383 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.05e-05/0.01102, allocations: 32.77 kB / 297.6 MB, free: 1.348 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.0112, allocations: 48.67 kB / 297.7 MB, free: 1.309 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005102/0.01171, allocations: 219.9 kB / 297.9 MB, free: 1.062 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.839e-05/0.01175, allocations: 67.33 kB / 298 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.908e-05/0.01179, allocations: 17.27 kB / 298 MB, free: 0.957 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.041e-05/0.01186, allocations: 71.36 kB / 298.1 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01186, allocations: 0 / 298.1 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of Templates: time 0.003721/0.01558, allocations: 2.037 MB / 300.1 MB, free: 14.88 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.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: 3.067955900914967]