Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.0008899/0.0008899, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002783/0.003673, 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.0008895/0.0008895, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001121/0.002011, 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.052/1.052, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1048/1.157, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.2767/0.2767, allocations: 34.26 MB / 278.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02794/0.3046, allocations: 13.1 MB / 291.3 MB, free: 7.383 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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 292.7 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.087e-05, allocations: 2.312 kB / 292.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003532/0.003553, allocations: 1.807 MB / 294.5 MB, free: 4.402 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001858/0.005411, allocations: 1.021 MB / 295.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.978e-05/0.005511, allocations: 0 / 295.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002924/0.005803, allocations: 43.72 kB / 295.6 MB, free: 3.332 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003285/0.006132, allocations: 95.47 kB / 295.7 MB, free: 3.238 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.006413, allocations: 79.59 kB / 295.8 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002489/0.006662, allocations: 99.72 kB / 295.8 MB, free: 3.062 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.006812, allocations: 19.91 kB / 295.9 MB, free: 3.043 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.00701, allocations: 75.83 kB / 295.9 MB, free: 2.969 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.007131, allocations: 31.83 kB / 296 MB, free: 2.938 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.007153, allocations: 4 kB / 296 MB, free: 2.934 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.007284, allocations: 43.92 kB / 296 MB, free: 2.891 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.317e-05/0.007347, allocations: 15.94 kB / 296 MB, free: 2.875 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.062e-05/0.007397, allocations: 19.94 kB / 296.1 MB, free: 2.855 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002629/0.00766, allocations: 95.66 kB / 296.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.489e-05/0.007685, allocations: 0 / 296.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.007688, allocations: 0 / 296.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.551e-05/0.007713, allocations: 0 / 296.1 MB, free: 2.762 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.0006162/0.008329, allocations: 344.9 kB / 296.5 MB, free: 2.402 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.008373, allocations: 8.031 kB / 296.5 MB, free: 2.395 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/0.008417, allocations: 8.922 kB / 296.5 MB, free: 2.387 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.008628, allocations: 150.3 kB / 296.6 MB, free: 2.215 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.008649, allocations: 384 / 296.7 MB, free: 2.215 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.008671, allocations: 8.375 kB / 296.7 MB, free: 2.207 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.008806, allocations: 61.77 kB / 296.7 MB, free: 2.137 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.008817, allocations: 3.938 kB / 296.7 MB, free: 2.133 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.008825, allocations: 4 kB / 296.7 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.008833, allocations: 3.984 kB / 296.7 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.358e-05/0.008866, allocations: 7.938 kB / 296.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002499/0.009116, allocations: 165.9 kB / 296.9 MB, free: 1.938 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.009237, allocations: 85.36 kB / 297 MB, free: 1.844 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.581e-05/0.009263, allocations: 16.84 kB / 297 MB, free: 1.824 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.009277, allocations: 8 kB / 297 MB, free: 1.816 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001259/0.009403, allocations: 66.09 kB / 297.1 MB, free: 1.738 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.104e-06/0.009405, allocations: 0 / 297.1 MB, free: 1.738 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003865/0.009792, allocations: 113.5 kB / 297.2 MB, free: 1.621 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.009831, allocations: 55.41 kB / 297.2 MB, free: 1.555 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.009979, allocations: 181.2 kB / 297.4 MB, free: 1.363 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.009999, allocations: 25.7 kB / 297.4 MB, free: 1.332 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.113e-05/0.01004, allocations: 92.12 kB / 297.5 MB, free: 1.238 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.01008, allocations: 27.83 kB / 297.6 MB, free: 1.211 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.916e-05/0.01013, allocations: 25.72 kB / 297.6 MB, free: 1.18 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.01023, allocations: 326.8 kB / 297.9 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.648e-05/0.01026, allocations: 14.81 kB / 297.9 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.364e-05/0.0103, allocations: 17.72 kB / 297.9 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.048e-05/0.01036, allocations: 48.44 kB / 298 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.01036, allocations: 3.938 kB / 298 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001115/0.01047, allocations: 72.5 kB / 298.1 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.01048, allocations: 4 kB / 298.1 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.01049, allocations: 3.938 kB / 298.1 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.0105, allocations: 4.031 kB / 298.1 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.123e-05/0.01059, allocations: 23.98 kB / 298.1 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.01059, allocations: 0 / 298.1 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.151e-05/0.01064, allocations: 4 kB / 298.1 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.01064, allocations: 0 / 298.1 MB, free: 0.6367 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 8.697e-05/0.01073, allocations: 123.4 kB / 298.2 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.01075, allocations: 15.92 kB / 298.2 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.01089, allocations: 75.08 kB / 298.3 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.01089, allocations: 0 / 298.3 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.01089, allocations: 0 / 298.3 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.0109, allocations: 11.97 kB / 298.3 MB, free: 412 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.01121, allocations: 295.4 kB / 298.6 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.01121, allocations: 0 / 298.6 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.501e-05/0.01125, allocations: 12 kB / 298.6 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.644e-05/0.01127, allocations: 7.953 kB / 298.6 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.01127, allocations: 0 / 298.6 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.01128, allocations: 8.359 kB / 298.6 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.01129, allocations: 4 kB / 298.6 MB, free: 56 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.01129, allocations: 3.938 kB / 298.6 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.01146, allocations: 215.1 kB / 298.8 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.01148, allocations: 12.03 kB / 298.9 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.944e-05/0.01155, allocations: 3.984 kB / 298.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.01158, allocations: 7.938 kB / 298.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.0116, allocations: 7.984 kB / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.933e-05/0.01166, allocations: 47.64 kB / 298.9 MB, free: 15.74 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01166, allocations: 0 / 298.9 MB, free: 15.74 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002483/0.01191, allocations: 27.98 kB / 299 MB, free: 15.71 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.002159/0.01407, allocations: 0.627 MB / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001353/0.0142, allocations: 44.72 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/0.01421, allocations: 0 / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.222e-05/0.01427, allocations: 32.97 kB / 299.7 MB, free: 15.35 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.01455, allocations: 50.08 kB / 299.7 MB, free: 15.31 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006312/0.01519, allocations: 223.7 kB / 299.9 MB, free: 15.06 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.21e-05/0.01524, allocations: 63.34 kB / 300 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.378e-05/0.01529, allocations: 16.97 kB / 300 MB, free: 14.96 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.969e-05/0.01538, allocations: 71.36 kB / 300.1 MB, free: 14.89 MB / 298.7 MB Notification: Performance of SimCode: time 1.402e-06/0.01538, allocations: 0 / 300.1 MB, free: 14.89 MB / 298.7 MB Notification: Performance of Templates: time 0.005192/0.02057, allocations: 2.051 MB / 302.1 MB, free: 12.86 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.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.0243592793121934]