Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.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.001142/0.001142, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001442/0.002584, 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.0009992/0.0009992, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001279/0.002278, 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.058/1.058, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09315/1.152, allocations: 53.66 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.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.2451/0.2451, allocations: 34.26 MB / 278.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02309/0.2682, allocations: 13.1 MB / 291.3 MB, free: 7.379 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.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89") translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 292.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.305e-05/1.448e-05, allocations: 3.844 kB / 292.7 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.001979/0.001994, allocations: 1.815 MB / 294.5 MB, free: 4.387 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001678/0.003671, allocations: 1.75 MB / 296.3 MB, free: 2.629 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.044e-05/0.003732, allocations: 4 kB / 296.3 MB, free: 2.625 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001567/0.003889, allocations: 35.77 kB / 296.3 MB, free: 2.59 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.004088, allocations: 103.3 kB / 296.4 MB, free: 2.488 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001288/0.004217, allocations: 79.66 kB / 296.5 MB, free: 2.41 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.004375, allocations: 111.6 kB / 296.6 MB, free: 2.301 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.597e-05/0.004461, allocations: 15.98 kB / 296.6 MB, free: 2.285 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.004589, allocations: 75.83 kB / 296.7 MB, free: 2.211 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.004704, allocations: 31.89 kB / 296.7 MB, free: 2.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.004725, allocations: 8 kB / 296.7 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.004892, allocations: 111.7 kB / 296.8 MB, free: 2.062 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.217e-05/0.004934, allocations: 19.94 kB / 296.9 MB, free: 2.043 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.023e-05/0.004964, allocations: 15.94 kB / 296.9 MB, free: 2.027 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.005165, allocations: 143.6 kB / 297 MB, free: 1.887 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.638e-05/0.005181, allocations: 3.938 kB / 297 MB, free: 1.883 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.005182, allocations: 0 / 297 MB, free: 1.883 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.005198, allocations: 0 / 297 MB, free: 1.883 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.0004567/0.005655, allocations: 352.9 kB / 297.4 MB, free: 1.516 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.005684, allocations: 12.03 kB / 297.4 MB, free: 1.504 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.005716, allocations: 8.922 kB / 297.4 MB, free: 1.496 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.005864, allocations: 142.2 kB / 297.5 MB, free: 1.332 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.005877, allocations: 4.375 kB / 297.5 MB, free: 1.328 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.005892, allocations: 4.375 kB / 297.5 MB, free: 1.324 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.006014, allocations: 104.6 kB / 297.6 MB, free: 1.199 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.006022, allocations: 3.984 kB / 297.6 MB, free: 1.195 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-06/0.006029, allocations: 0 / 297.6 MB, free: 1.195 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.006035, allocations: 4 kB / 297.7 MB, free: 1.191 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.684e-05/0.006061, allocations: 10.77 kB / 297.7 MB, free: 1.18 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001951/0.006256, allocations: 174 kB / 297.8 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.582e-05/0.006342, allocations: 85.23 kB / 297.9 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.075e-05/0.006363, allocations: 24.78 kB / 297.9 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.006374, allocations: 3.984 kB / 297.9 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.225e-05/0.006467, allocations: 70.14 kB / 298 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.006468, allocations: 0 / 298 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002664/0.006734, allocations: 109.5 kB / 298.1 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.006762, allocations: 55.41 kB / 298.2 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.006863, allocations: 161.2 kB / 298.3 MB, free: 444 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.006877, allocations: 25.7 kB / 298.4 MB, free: 412 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.327e-05/0.006911, allocations: 92.11 kB / 298.4 MB, free: 316 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.006936, allocations: 27.78 kB / 298.5 MB, free: 288 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.006971, allocations: 29.7 kB / 298.5 MB, free: 252 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.125e-05/0.007063, allocations: 322.8 kB / 298.8 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.478e-05/0.007077, allocations: 6.828 kB / 298.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.58e-05/0.007113, allocations: 60.25 kB / 298.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.036e-05/0.007164, allocations: 44.41 kB / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.007166, allocations: 0 / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.161e-05/0.007237, allocations: 72.55 kB / 299 MB, free: 15.71 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.007249, allocations: 7.938 kB / 299 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.007253, allocations: 4.062 kB / 299 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.007261, allocations: 0 / 299 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.583e-05/0.007327, allocations: 23.98 kB / 299 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.385e-06/0.00733, allocations: 0 / 299 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.862e-05/0.007358, allocations: 7.953 kB / 299 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.007363, allocations: 0 / 299 MB, free: 15.67 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 (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 6.472e-05/0.007428, allocations: 125.9 kB / 299.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.142e-05/0.007439, allocations: 8 kB / 299.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.422e-05/0.007533, allocations: 78.38 kB / 299.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.007535, allocations: 0 / 299.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.007536, allocations: 4 kB / 299.3 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.007539, allocations: 0 / 299.3 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.007745, allocations: 291.4 kB / 299.5 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.007746, allocations: 384 / 299.5 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.451e-05/0.007771, allocations: 8 kB / 299.5 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.085e-05/0.007782, allocations: 11.95 kB / 299.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.007784, allocations: 4 kB / 299.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.007791, allocations: 11.92 kB / 299.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.007792, allocations: 0 / 299.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.007793, allocations: 3.938 kB / 299.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.248e-05/0.007886, allocations: 223.1 kB / 299.8 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.007901, allocations: 4 kB / 299.8 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.875e-05/0.007939, allocations: 4 kB / 299.8 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.396e-05/0.007963, allocations: 7.922 kB / 299.8 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.007972, allocations: 4 kB / 299.8 MB, free: 14.83 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.735e-05/0.00801, allocations: 50.69 kB / 299.9 MB, free: 14.78 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00801, allocations: 0 / 299.9 MB, free: 14.78 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001709/0.008181, allocations: 51.8 kB / 299.9 MB, free: 14.73 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.001654/0.009835, allocations: 0.7692 MB / 300.7 MB, free: 14.37 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.999e-05/0.009925, allocations: 48.77 kB / 300.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.009932, allocations: 4 kB / 300.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.738e-05/0.009959, allocations: 20.84 kB / 300.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001811/0.01014, allocations: 53.7 kB / 300.8 MB, free: 14.24 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003952/0.01054, allocations: 207.5 kB / 301 MB, free: 14.01 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.569e-05/0.01057, allocations: 63.34 kB / 301.1 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.147e-05/0.01061, allocations: 21.27 kB / 301.1 MB, free: 13.9 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.378e-05/0.01069, allocations: 71.36 kB / 301.2 MB, free: 13.83 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01069, allocations: 0 / 301.2 MB, free: 13.83 MB / 298.7 MB Notification: Performance of Templates: time 0.00424/0.01493, allocations: 2.807 MB / 304 MB, free: 11.07 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test89/Test89.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.8951740469783545]