Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.0008277/0.0008277, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001259/0.002087, allocations: 449.7 kB / 10.37 MB, free: 324 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.000731/0.000731, allocations: 169.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009978/0.001729, allocations: 455.6 kB / 11.71 MB, free: 2.457 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.9689/0.9689, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0913/1.06, allocations: 53.67 MB / 243.3 MB, free: 15.57 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.2621/0.2621, allocations: 32.79 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02796/0.29, allocations: 12.53 MB / 289.3 MB, free: 8.668 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 290.7 MB, free: 7.566 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.268e-05/1.404e-05, allocations: 2.312 kB / 290.7 MB, free: 7.562 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002001/0.002015, allocations: 1.827 MB / 292.5 MB, free: 6.082 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.003199, allocations: 1.017 MB / 293.6 MB, free: 5.32 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.821e-05/0.003267, allocations: 3.938 kB / 293.6 MB, free: 5.316 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002103/0.003478, allocations: 110.4 kB / 293.7 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002265/0.003704, allocations: 131.4 kB / 293.8 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001579/0.003862, allocations: 75.61 kB / 293.9 MB, free: 5.027 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.004022, allocations: 135.6 kB / 294 MB, free: 4.895 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.462e-05/0.004097, allocations: 12 kB / 294 MB, free: 4.883 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.004216, allocations: 103.7 kB / 294.1 MB, free: 4.781 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.655e-05/0.004303, allocations: 59.86 kB / 294.2 MB, free: 4.723 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.004317, allocations: 4 kB / 294.2 MB, free: 4.719 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.539e-05/0.004412, allocations: 71.89 kB / 294.2 MB, free: 4.648 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.015e-05/0.004452, allocations: 27.88 kB / 294.3 MB, free: 4.621 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.439e-05/0.004487, allocations: 19.94 kB / 294.3 MB, free: 4.602 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.004646, allocations: 123.5 kB / 294.4 MB, free: 4.48 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.325e-05/0.004659, allocations: 0 / 294.4 MB, free: 4.48 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.00466, allocations: 0 / 294.4 MB, free: 4.48 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.004672, allocations: 0 / 294.4 MB, free: 4.48 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004185/0.005091, allocations: 384.1 kB / 294.8 MB, free: 4.082 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.555e-05/0.005116, allocations: 8.031 kB / 294.8 MB, free: 4.074 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.005149, allocations: 12.92 kB / 294.8 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.005292, allocations: 162.5 kB / 295 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.005307, allocations: 4.375 kB / 295 MB, free: 3.871 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.005323, allocations: 4.375 kB / 295 MB, free: 3.867 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.829e-05/0.005422, allocations: 73.69 kB / 295 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.00543, allocations: 3.938 kB / 295.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-06/0.005436, allocations: 0 / 295.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.005441, allocations: 7.984 kB / 295.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.186e-05/0.005473, allocations: 11.98 kB / 295.1 MB, free: 3.762 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001984/0.005671, allocations: 181.9 kB / 295.2 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.005828, allocations: 105.3 kB / 295.4 MB, free: 3.453 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.879e-05/0.005856, allocations: 20.84 kB / 295.4 MB, free: 3.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.005867, allocations: 0 / 295.4 MB, free: 3.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001086/0.005975, allocations: 74.14 kB / 295.4 MB, free: 3.344 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.005977, allocations: 0 / 295.4 MB, free: 3.344 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003923/0.006369, allocations: 190 kB / 295.6 MB, free: 3.152 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.006398, allocations: 51.41 kB / 295.7 MB, free: 3.09 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.006511, allocations: 213.8 kB / 295.9 MB, free: 2.867 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.006524, allocations: 33.7 kB / 295.9 MB, free: 2.828 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.97e-05/0.006553, allocations: 100.1 kB / 296 MB, free: 2.727 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.006583, allocations: 39.67 kB / 296.1 MB, free: 2.688 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.006612, allocations: 25.7 kB / 296.1 MB, free: 2.656 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.293e-05/0.006685, allocations: 330.8 kB / 296.4 MB, free: 2.324 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.824e-05/0.006703, allocations: 14.83 kB / 296.4 MB, free: 2.309 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.772e-05/0.006731, allocations: 32.06 kB / 296.5 MB, free: 2.273 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.138e-05/0.006782, allocations: 61.03 kB / 296.5 MB, free: 2.207 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.006783, allocations: 0 / 296.5 MB, free: 2.207 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 7.765e-05/0.006861, allocations: 92.36 kB / 296.6 MB, free: 2.109 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.337e-06/0.00687, allocations: 8.031 kB / 296.6 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.006875, allocations: 4 kB / 296.6 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.006888, allocations: 0 / 296.6 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.227e-05/0.00695, allocations: 31.92 kB / 296.6 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.006953, allocations: 0 / 296.6 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.376e-05/0.006977, allocations: 4 kB / 296.6 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.006982, allocations: 4.156 kB / 296.7 MB, free: 2.059 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 (14): * Single equations (assignments): 14 * 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.89e-05/0.007041, allocations: 124.6 kB / 296.8 MB, free: 1.926 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.007055, allocations: 11.98 kB / 296.8 MB, free: 1.914 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.007168, allocations: 107 kB / 296.9 MB, free: 1.805 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.00717, allocations: 4 kB / 296.9 MB, free: 1.801 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.007171, allocations: 0 / 296.9 MB, free: 1.801 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.007175, allocations: 4 kB / 296.9 MB, free: 1.797 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.007409, allocations: 339.7 kB / 297.2 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.007411, allocations: 0 / 297.2 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.948e-05/0.00745, allocations: 27.94 kB / 297.3 MB, free: 1.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.483e-05/0.007465, allocations: 19.89 kB / 297.3 MB, free: 1.391 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.007468, allocations: 4 kB / 297.3 MB, free: 1.387 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.007474, allocations: 0 / 297.3 MB, free: 1.387 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.007475, allocations: 8.062 kB / 297.3 MB, free: 1.379 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.007477, allocations: 3.938 kB / 297.3 MB, free: 1.375 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.007586, allocations: 239.9 kB / 297.5 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.007603, allocations: 4 kB / 297.5 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.109e-05/0.007644, allocations: 11.98 kB / 297.5 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.307e-05/0.007667, allocations: 11.92 kB / 297.6 MB, free: 1.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.007678, allocations: 7.938 kB / 297.6 MB, free: 1.082 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.074e-05/0.007729, allocations: 73.92 kB / 297.6 MB, free: 1.008 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007729, allocations: 0 / 297.6 MB, free: 1.008 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000153/0.007882, allocations: 31.94 kB / 297.7 MB, free: 0.9766 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 (14): * Single equations (assignments): 12 * 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.001471/0.009353, allocations: 0.7222 MB / 298.4 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001039/0.009457, allocations: 56.78 kB / 298.4 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.28e-05/0.009469, allocations: 3.984 kB / 298.4 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.461e-05/0.009504, allocations: 36.78 kB / 298.5 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001773/0.009681, allocations: 51.8 kB / 298.5 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004469/0.01013, allocations: 297.8 kB / 298.8 MB, free: 180 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.149e-05/0.01017, allocations: 79.83 kB / 298.9 MB, free: 80 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.138e-05/0.01021, allocations: 21.12 kB / 298.9 MB, free: 60 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.841e-05/0.01029, allocations: 71.36 kB / 299 MB, free: 15.99 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01029, allocations: 0 / 299 MB, free: 15.99 MB / 298.7 MB Notification: Performance of Templates: time 0.003766/0.01406, allocations: 2.497 MB / 301.5 MB, free: 13.54 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.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.9400860238820314]