Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007862/0.0007862, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0011/0.001887, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000722/0.000722, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008932/0.001615, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9783/0.9783, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1034/1.082, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2574/0.2574, allocations: 34.86 MB / 279.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02456/0.282, allocations: 13.23 MB / 292.6 MB, free: 6.469 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 293.9 MB, free: 5.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.261e-05/1.389e-05, allocations: 5.625 kB / 293.9 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002475/0.002489, allocations: 2.085 MB / 296 MB, free: 3.008 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.003675, allocations: 1.107 MB / 297.1 MB, free: 1.895 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.963e-05/0.003765, allocations: 7.938 kB / 297.1 MB, free: 1.887 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001907/0.003956, allocations: 43.64 kB / 297.2 MB, free: 1.844 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002162/0.004172, allocations: 119.3 kB / 297.3 MB, free: 1.727 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.004369, allocations: 115.5 kB / 297.4 MB, free: 1.613 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.00457, allocations: 211.3 kB / 297.6 MB, free: 1.406 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.076e-05/0.00465, allocations: 22.41 kB / 297.6 MB, free: 1.387 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.004816, allocations: 148.3 kB / 297.8 MB, free: 1.242 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.589e-05/0.004902, allocations: 59.8 kB / 297.8 MB, free: 1.184 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.004922, allocations: 12 kB / 297.9 MB, free: 1.172 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.025e-05/0.005002, allocations: 51.92 kB / 297.9 MB, free: 1.121 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.817e-05/0.00505, allocations: 35.86 kB / 297.9 MB, free: 1.086 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.498e-05/0.005095, allocations: 35.94 kB / 298 MB, free: 1.051 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.005281, allocations: 155.4 kB / 298.1 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.364e-05/0.005294, allocations: 0 / 298.1 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.005295, allocations: 0 / 298.1 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.005308, allocations: 0 / 298.1 MB, free: 0.8984 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006002/0.005908, allocations: 496 kB / 298.6 MB, free: 388 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.671e-05/0.005935, allocations: 11.44 kB / 298.6 MB, free: 380 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.005974, allocations: 16.92 kB / 298.6 MB, free: 364 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.006152, allocations: 185.4 kB / 298.8 MB, free: 152 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.006166, allocations: 8.375 kB / 298.8 MB, free: 144 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.006183, allocations: 4.375 kB / 298.8 MB, free: 140 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.006367, allocations: 157.3 kB / 299 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.006374, allocations: 4.125 kB / 299 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.006385, allocations: 8.312 kB / 299 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.006391, allocations: 3.938 kB / 299 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.607e-05/0.006447, allocations: 37.27 kB / 299 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003166/0.006763, allocations: 390 kB / 299.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.006931, allocations: 113.3 kB / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.123e-05/0.006963, allocations: 24.78 kB / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.006975, allocations: 0 / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001276/0.007103, allocations: 128.9 kB / 299.7 MB, free: 15.21 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.007104, allocations: 0 / 299.7 MB, free: 15.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001416/0.007246, allocations: 90.41 kB / 299.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.007275, allocations: 67.34 kB / 299.8 MB, free: 15.04 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.007391, allocations: 213.1 kB / 300 MB, free: 14.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.007407, allocations: 25.7 kB / 300.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.742e-05/0.007454, allocations: 116.9 kB / 300.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.007479, allocations: 35.72 kB / 300.2 MB, free: 14.63 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.372e-05/0.007523, allocations: 33.69 kB / 300.3 MB, free: 14.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.779e-05/0.007601, allocations: 334.8 kB / 300.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.77e-05/0.007638, allocations: 49.16 kB / 300.6 MB, free: 14.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.997e-05/0.007688, allocations: 85.89 kB / 300.7 MB, free: 14.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.386e-05/0.007772, allocations: 113.5 kB / 300.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.007774, allocations: 0 / 300.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001221/0.007897, allocations: 171.7 kB / 301 MB, free: 13.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.007924, allocations: 33.69 kB / 301 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.007929, allocations: 4 kB / 301 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.003e-06/0.007936, allocations: 0 / 301 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.854e-05/0.008025, allocations: 32.11 kB / 301.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.008028, allocations: 4 kB / 301.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.521e-05/0.008093, allocations: 27.92 kB / 301.1 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.008102, allocations: 4 kB / 301.1 MB, free: 13.66 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.546e-05/0.008167, allocations: 128.5 kB / 301.2 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.829e-05/0.008186, allocations: 19.92 kB / 301.2 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.008293, allocations: 92.98 kB / 301.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.008295, allocations: 0 / 301.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.008296, allocations: 0 / 301.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.008301, allocations: 3.984 kB / 301.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.076e-05/0.008392, allocations: 117.8 kB / 301.4 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.008393, allocations: 3.938 kB / 301.5 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.941e-05/0.008452, allocations: 19.98 kB / 301.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.554e-05/0.008468, allocations: 15.84 kB / 301.5 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.008469, allocations: 0 / 301.5 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.008479, allocations: 11.98 kB / 301.5 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.00848, allocations: 3.938 kB / 301.5 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.008481, allocations: 0 / 301.5 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.008617, allocations: 126.7 kB / 301.6 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.008642, allocations: 11.92 kB / 301.6 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.031e-05/0.008692, allocations: 20.02 kB / 301.7 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.008731, allocations: 19.91 kB / 301.7 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.008742, allocations: 4 kB / 301.7 MB, free: 13.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.007e-05/0.008792, allocations: 70.61 kB / 301.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008792, allocations: 0 / 301.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001343/0.008927, allocations: 43.89 kB / 301.8 MB, free: 12.91 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001084/0.01001, allocations: 0.5454 MB / 302.3 MB, free: 12.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001443/0.01016, allocations: 157.9 kB / 302.5 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.01016, allocations: 4 kB / 302.5 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.552e-05/0.01021, allocations: 40.77 kB / 302.5 MB, free: 12.44 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.01036, allocations: 60.67 kB / 302.6 MB, free: 12.38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004921/0.01085, allocations: 311.4 kB / 302.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.541e-05/0.01089, allocations: 80.22 kB / 303 MB, free: 11.95 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.061e-05/0.01094, allocations: 17.48 kB / 303 MB, free: 11.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.573e-05/0.01103, allocations: 87.36 kB / 303.1 MB, free: 11.85 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01103, allocations: 0 / 303.1 MB, free: 11.85 MB / 298.7 MB Notification: Performance of Templates: time 0.00441/0.01544, allocations: 3.273 MB / 306.4 MB, free: 8.621 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.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.104347839951515]