Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.0009084/0.0009084, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001295/0.002204, 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.001083/0.001083, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001211/0.002294, 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.047/1.047, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1102/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.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.3044/0.3044, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03094/0.3353, allocations: 12.52 MB / 289.3 MB, free: 8.68 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 290.7 MB, free: 7.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.16e-05/1.315e-05, allocations: 3.188 kB / 290.7 MB, free: 7.586 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002134/0.002147, allocations: 1.806 MB / 292.5 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.003376, allocations: 1.022 MB / 293.5 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.786e-05/0.003434, allocations: 3.906 kB / 293.5 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000151/0.003585, allocations: 39.19 kB / 293.6 MB, free: 5.32 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001956/0.00378, allocations: 94.94 kB / 293.7 MB, free: 5.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.003932, allocations: 79.59 kB / 293.7 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.00407, allocations: 115.6 kB / 293.8 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.972e-05/0.004139, allocations: 4.75 kB / 293.9 MB, free: 5.055 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.004249, allocations: 79.75 kB / 293.9 MB, free: 4.977 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.886e-05/0.004318, allocations: 31.89 kB / 294 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.004331, allocations: 4 kB / 294 MB, free: 4.941 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.769e-05/0.004408, allocations: 43.92 kB / 294 MB, free: 4.898 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.149e-05/0.00445, allocations: 19.94 kB / 294 MB, free: 4.879 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.24e-05/0.004482, allocations: 15.94 kB / 294 MB, free: 4.863 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.004629, allocations: 99.55 kB / 294.1 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.136e-05/0.004641, allocations: 0 / 294.1 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004641, allocations: 0 / 294.1 MB, free: 4.766 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.004653, allocations: 4 kB / 294.1 MB, free: 4.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.0003661/0.005019, allocations: 336.5 kB / 294.5 MB, free: 4.41 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.634e-05/0.005045, allocations: 8.031 kB / 294.5 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.488e-05/0.00507, allocations: 8.922 kB / 294.5 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.005205, allocations: 150.3 kB / 294.6 MB, free: 4.223 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.005215, allocations: 384 / 294.6 MB, free: 4.223 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.005229, allocations: 4.375 kB / 294.6 MB, free: 4.219 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.322e-05/0.005312, allocations: 61.77 kB / 294.7 MB, free: 4.148 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.005321, allocations: 7.875 kB / 294.7 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.702e-06/0.005327, allocations: 3.984 kB / 294.7 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.005331, allocations: 8 kB / 294.7 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.242e-05/0.005354, allocations: 4 kB / 294.7 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001801/0.005534, allocations: 170 kB / 294.9 MB, free: 3.941 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.432e-05/0.005618, allocations: 85.28 kB / 295 MB, free: 3.848 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.71e-05/0.005635, allocations: 8.859 kB / 295 MB, free: 3.836 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-06/0.005645, allocations: 0 / 295 MB, free: 3.836 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.852e-05/0.005733, allocations: 82 kB / 295.1 MB, free: 3.742 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.005734, allocations: 0 / 295.1 MB, free: 3.742 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002553/0.005989, allocations: 117.7 kB / 295.2 MB, free: 3.621 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.006018, allocations: 55.41 kB / 295.2 MB, free: 3.555 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.796e-05/0.006116, allocations: 184.8 kB / 295.4 MB, free: 3.359 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.006128, allocations: 25.7 kB / 295.4 MB, free: 3.328 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.003e-05/0.006158, allocations: 92.11 kB / 295.5 MB, free: 3.234 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.006179, allocations: 19.86 kB / 295.5 MB, free: 3.215 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.006213, allocations: 25.7 kB / 295.6 MB, free: 3.184 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.2e-05/0.006295, allocations: 330.8 kB / 295.9 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.298e-05/0.006308, allocations: 6.828 kB / 295.9 MB, free: 2.844 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.126e-05/0.00633, allocations: 21.72 kB / 295.9 MB, free: 2.816 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.055e-05/0.00637, allocations: 52.44 kB / 296 MB, free: 2.758 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.006371, allocations: 0 / 296 MB, free: 2.758 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.402e-05/0.006435, allocations: 76.38 kB / 296 MB, free: 2.676 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.006446, allocations: 5.719 kB / 296.1 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.00645, allocations: 0 / 296.1 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.721e-06/0.006456, allocations: 0 / 296.1 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.416e-05/0.00651, allocations: 19.98 kB / 296.1 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-06/0.006512, allocations: 0 / 296.1 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.222e-05/0.006534, allocations: 4 kB / 296.1 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-06/0.006538, allocations: 4.031 kB / 296.1 MB, free: 2.645 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.963e-05/0.006597, allocations: 121.9 kB / 296.2 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.254e-05/0.00661, allocations: 15.92 kB / 296.2 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.671e-05/0.006707, allocations: 75.08 kB / 296.3 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.006709, allocations: 0 / 296.3 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.00671, allocations: 0 / 296.3 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.006714, allocations: 3.984 kB / 296.3 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.006912, allocations: 299.5 kB / 296.6 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.006913, allocations: 0 / 296.6 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.562e-05/0.006938, allocations: 20.03 kB / 296.6 MB, free: 2.078 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.026e-05/0.006949, allocations: 11.94 kB / 296.6 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.00695, allocations: 0 / 296.6 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.006955, allocations: 3.938 kB / 296.6 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.006957, allocations: 4 kB / 296.6 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.006958, allocations: 0 / 296.6 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.495e-05/0.007053, allocations: 215 kB / 296.8 MB, free: 1.828 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.007067, allocations: 4 kB / 296.8 MB, free: 1.824 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.575e-05/0.007102, allocations: 11.92 kB / 296.8 MB, free: 1.812 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.062e-05/0.007123, allocations: 4 kB / 296.9 MB, free: 1.809 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.007132, allocations: 3.984 kB / 296.9 MB, free: 1.805 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.764e-05/0.00717, allocations: 51.66 kB / 296.9 MB, free: 1.75 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00717, allocations: 0 / 296.9 MB, free: 1.75 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001392/0.007309, allocations: 27.98 kB / 296.9 MB, free: 1.723 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.001564/0.008873, allocations: 0.6338 MB / 297.6 MB, free: 1.441 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.258e-05/0.008966, allocations: 40.72 kB / 297.6 MB, free: 1.398 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.008974, allocations: 4 kB / 297.6 MB, free: 1.395 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.913e-05/0.009003, allocations: 28.78 kB / 297.6 MB, free: 1.363 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.009173, allocations: 46.86 kB / 297.7 MB, free: 1.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000431/0.009604, allocations: 219.7 kB / 297.9 MB, free: 1.074 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.916e-05/0.009644, allocations: 63.47 kB / 298 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.625e-05/0.00968, allocations: 21.27 kB / 298 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.4e-05/0.009744, allocations: 71.36 kB / 298.1 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.009744, allocations: 4 kB / 298.1 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of Templates: time 0.003451/0.01319, allocations: 2.047 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.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.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.2656698431819677]