Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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.0007839/0.0007839, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001121/0.001905, 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.0007357/0.0007357, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009601/0.001696, 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 1.037/1.037, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0897/1.127, 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.2703/0.2703, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02432/0.2947, allocations: 13.23 MB / 292.6 MB, free: 6.465 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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.552e-06/1.552e-06, allocations: 0 / 293.9 MB, free: 5.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.582e-05, allocations: 4.844 kB / 294 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003922/0.003948, allocations: 1.807 MB / 295.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.005769, allocations: 1.029 MB / 296.8 MB, free: 2.246 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.005883, allocations: 0 / 296.8 MB, free: 2.246 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002639/0.006147, allocations: 47.7 kB / 296.8 MB, free: 2.199 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003629/0.006509, allocations: 95.53 kB / 296.9 MB, free: 2.105 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.0068, allocations: 83.59 kB / 297 MB, free: 2.023 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.006969, allocations: 103.6 kB / 297.1 MB, free: 1.922 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.113e-05/0.00705, allocations: 7.984 kB / 297.1 MB, free: 1.914 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.007172, allocations: 83.75 kB / 297.2 MB, free: 1.832 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.7e-05/0.007249, allocations: 27.91 kB / 297.2 MB, free: 1.805 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.007264, allocations: 4 kB / 297.2 MB, free: 1.801 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.55e-05/0.00735, allocations: 43.92 kB / 297.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.351e-05/0.007393, allocations: 23.86 kB / 297.3 MB, free: 1.734 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.473e-05/0.007428, allocations: 15.94 kB / 297.3 MB, free: 1.719 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.007597, allocations: 107.6 kB / 297.4 MB, free: 1.613 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.285e-05/0.00761, allocations: 4 kB / 297.4 MB, free: 1.609 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.007611, allocations: 0 / 297.4 MB, free: 1.609 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.007623, allocations: 3.938 kB / 297.4 MB, free: 1.605 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.0004342/0.008057, allocations: 348.9 kB / 297.8 MB, free: 1.242 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.008089, allocations: 12.92 kB / 297.8 MB, free: 1.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.112e-05/0.00812, allocations: 8.922 kB / 297.8 MB, free: 1.223 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.008272, allocations: 151 kB / 297.9 MB, free: 1.047 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.008287, allocations: 4.375 kB / 297.9 MB, free: 1.043 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.008303, allocations: 384 / 297.9 MB, free: 1.043 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.008412, allocations: 65.77 kB / 298 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.008424, allocations: 4.188 kB / 298 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.008433, allocations: 384 / 298 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.008438, allocations: 3.938 kB / 298 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.826e-05/0.008467, allocations: 15.92 kB / 298 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002387/0.008705, allocations: 173.9 kB / 298.2 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.543e-05/0.008801, allocations: 85.28 kB / 298.3 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.797e-05/0.008819, allocations: 12.86 kB / 298.3 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.008829, allocations: 0 / 298.3 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.383e-05/0.008923, allocations: 70.16 kB / 298.4 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.008924, allocations: 0 / 298.4 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002835/0.009207, allocations: 113.5 kB / 298.5 MB, free: 460 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.009236, allocations: 51.41 kB / 298.5 MB, free: 396 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.009348, allocations: 192.1 kB / 298.7 MB, free: 188 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.009363, allocations: 33.7 kB / 298.7 MB, free: 148 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.014e-05/0.009393, allocations: 92.11 kB / 298.8 MB, free: 52 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.00942, allocations: 35.72 kB / 298.9 MB, free: 16 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/0.00946, allocations: 21.7 kB / 298.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.532e-05/0.009535, allocations: 326.8 kB / 299.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.672e-05/0.009552, allocations: 14.81 kB / 299.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.47e-05/0.009577, allocations: 26.64 kB / 299.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.942e-05/0.009616, allocations: 40.53 kB / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.009617, allocations: 3.938 kB / 299.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.054e-05/0.009698, allocations: 80.41 kB / 299.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.009711, allocations: 7.938 kB / 299.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.009715, allocations: 0 / 299.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.284e-06/0.009722, allocations: 0 / 299.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.678e-05/0.009789, allocations: 19.98 kB / 299.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-06/0.009792, allocations: 4.031 kB / 299.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.957e-05/0.009822, allocations: 11.98 kB / 299.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.009826, allocations: 0 / 299.4 MB, free: 15.43 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.19e-05/0.009888, allocations: 116.7 kB / 299.5 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/0.009902, allocations: 15.92 kB / 299.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.01001, allocations: 75.64 kB / 299.6 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.01001, allocations: 0 / 299.6 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.01001, allocations: 0 / 299.6 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.01002, allocations: 7.984 kB / 299.6 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.01023, allocations: 291.5 kB / 299.9 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.01023, allocations: 4.312 kB / 299.9 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.707e-05/0.01026, allocations: 8 kB / 299.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.265e-05/0.01027, allocations: 15.89 kB / 299.9 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.01027, allocations: 4 kB / 299.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.01028, allocations: 8 kB / 300 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.01028, allocations: 3.938 kB / 300 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01028, allocations: 0 / 300 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.55e-05/0.01038, allocations: 216.8 kB / 300.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.0104, allocations: 3.984 kB / 300.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.881e-05/0.01043, allocations: 12.03 kB / 300.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.576e-05/0.01046, allocations: 11.92 kB / 300.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.01047, allocations: 0 / 300.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.936e-05/0.01052, allocations: 65.7 kB / 300.3 MB, free: 14.53 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01052, allocations: 0 / 300.3 MB, free: 14.53 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001546/0.01067, allocations: 27.94 kB / 300.3 MB, free: 14.5 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.001487/0.01216, allocations: 0.6122 MB / 300.9 MB, free: 14.22 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.802e-05/0.01226, allocations: 40.77 kB / 300.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/0.01227, allocations: 4 kB / 300.9 MB, free: 14.17 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.054e-05/0.0123, allocations: 28.72 kB / 301 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.01249, allocations: 55.2 kB / 301 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004522/0.01294, allocations: 250.8 kB / 301.3 MB, free: 13.82 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.029e-05/0.01298, allocations: 75.31 kB / 301.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.626e-05/0.01302, allocations: 8.984 kB / 301.3 MB, free: 13.71 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.984e-05/0.01308, allocations: 67.36 kB / 301.4 MB, free: 13.64 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01308, allocations: 0 / 301.4 MB, free: 13.64 MB / 298.7 MB Notification: Performance of Templates: time 0.003853/0.01693, allocations: 2.057 MB / 303.5 MB, free: 11.61 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.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.023445714265108]