Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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.0009565/0.0009565, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001056/0.001056, allocations: 164.2 kB / 24.91 MB, free: 8.754 MB / 18.57 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.9584/0.9584, allocations: 177 MB / 205.2 MB, free: 5.051 MB / 186.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.2784/0.2784, allocations: 34.86 MB / 296.6 MB, free: 472 kB / 266.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 326 MB, free: 7.074 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.512e-05/1.643e-05, allocations: 5.406 kB / 326 MB, free: 7.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002882/0.002898, allocations: 1.764 MB / 327.8 MB, free: 5.293 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.004182, allocations: 1.006 MB / 328.8 MB, free: 4.281 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.967e-05/0.004242, allocations: 0 / 328.8 MB, free: 4.281 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002783/0.00452, allocations: 39.7 kB / 328.8 MB, free: 4.242 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002426/0.004763, allocations: 99.47 kB / 328.9 MB, free: 4.145 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001433/0.004906, allocations: 91.59 kB / 329 MB, free: 4.055 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.005055, allocations: 96.45 kB / 329.1 MB, free: 3.961 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.392e-05/0.005139, allocations: 15.97 kB / 329.1 MB, free: 3.945 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.913e-05/0.005228, allocations: 55.77 kB / 329.2 MB, free: 3.891 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.444e-05/0.005293, allocations: 27.91 kB / 329.2 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.005305, allocations: 4 kB / 329.2 MB, free: 3.859 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.652e-05/0.005372, allocations: 47.91 kB / 329.2 MB, free: 3.812 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.041e-05/0.005412, allocations: 23.92 kB / 329.3 MB, free: 3.789 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.876e-05/0.005441, allocations: 19.88 kB / 329.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.00558, allocations: 95.66 kB / 329.4 MB, free: 3.676 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.005582, allocations: 4 kB / 329.4 MB, free: 3.672 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.005583, allocations: 0 / 329.4 MB, free: 3.672 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.986e-06/0.005586, allocations: 0 / 329.4 MB, free: 3.672 MB / 298.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.0003409/0.005927, allocations: 325.5 kB / 329.7 MB, free: 3.332 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.83e-05/0.005955, allocations: 8.031 kB / 329.7 MB, free: 3.324 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.419e-05/0.005989, allocations: 12.92 kB / 329.7 MB, free: 3.312 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.006128, allocations: 150.3 kB / 329.9 MB, free: 3.141 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.006141, allocations: 384 / 329.9 MB, free: 3.141 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.006158, allocations: 4.375 kB / 329.9 MB, free: 3.137 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.006262, allocations: 65.7 kB / 329.9 MB, free: 3.062 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.006271, allocations: 4.188 kB / 329.9 MB, free: 3.059 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-06/0.006278, allocations: 4.375 kB / 329.9 MB, free: 3.055 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.006286, allocations: 3.938 kB / 329.9 MB, free: 3.051 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.847e-05/0.006314, allocations: 15.91 kB / 330 MB, free: 3.035 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001893/0.006503, allocations: 170 kB / 330.1 MB, free: 2.848 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.099e-05/0.006584, allocations: 81.3 kB / 330.2 MB, free: 2.758 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.911e-05/0.006603, allocations: 8.859 kB / 330.2 MB, free: 2.746 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.006617, allocations: 4 kB / 330.2 MB, free: 2.742 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.399e-05/0.006701, allocations: 66.14 kB / 330.3 MB, free: 2.664 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.006702, allocations: 4 kB / 330.3 MB, free: 2.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002503/0.006952, allocations: 117.5 kB / 330.4 MB, free: 2.539 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.00698, allocations: 55.41 kB / 330.5 MB, free: 2.473 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.361e-05/0.007074, allocations: 177.3 kB / 330.6 MB, free: 2.285 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.007085, allocations: 25.7 kB / 330.7 MB, free: 2.254 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.888e-05/0.007134, allocations: 96.11 kB / 330.7 MB, free: 2.156 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.007161, allocations: 27.78 kB / 330.8 MB, free: 2.129 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/0.007188, allocations: 25.7 kB / 330.8 MB, free: 2.098 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.847e-05/0.007256, allocations: 322.8 kB / 331.1 MB, free: 1.773 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.524e-05/0.007271, allocations: 14.81 kB / 331.1 MB, free: 1.758 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.043e-05/0.007292, allocations: 25.7 kB / 331.2 MB, free: 1.727 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.087e-05/0.007333, allocations: 52.44 kB / 331.2 MB, free: 1.668 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.007334, allocations: 0 / 331.2 MB, free: 1.668 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.284e-05/0.007396, allocations: 68.5 kB / 331.3 MB, free: 1.594 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.007407, allocations: 9.031 kB / 331.3 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.007411, allocations: 0 / 331.3 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.007422, allocations: 0 / 331.3 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.329e-05/0.007475, allocations: 20.31 kB / 331.3 MB, free: 1.566 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.007479, allocations: 0 / 331.3 MB, free: 1.566 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.477e-05/0.007504, allocations: 8.016 kB / 331.3 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.007511, allocations: 8 kB / 331.3 MB, free: 1.551 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.148e-05/0.007573, allocations: 116.7 kB / 331.4 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.007584, allocations: 11.92 kB / 331.4 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.751e-05/0.007671, allocations: 75.08 kB / 331.5 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.007674, allocations: 4 kB / 331.5 MB, free: 1.328 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.007676, allocations: 0 / 331.5 MB, free: 1.328 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.007678, allocations: 3.938 kB / 331.5 MB, free: 1.324 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.007919, allocations: 299.4 kB / 331.8 MB, free: 1.004 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.007921, allocations: 7.969 kB / 331.8 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.076e-05/0.007942, allocations: 8 kB / 331.8 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.007943, allocations: 0 / 331.8 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-06/0.007948, allocations: 0 / 331.8 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.007951, allocations: 4.234 kB / 331.8 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.007951, allocations: 0 / 331.8 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.16e-05/0.008043, allocations: 215.8 kB / 332 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.334e-05/0.008056, allocations: 15.89 kB / 332.1 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.008071, allocations: 0 / 332.1 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.67e-05/0.008108, allocations: 4 kB / 332.1 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.205e-05/0.00813, allocations: 11.98 kB / 332.1 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.00814, allocations: 4 kB / 332.1 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.835e-05/0.008178, allocations: 51.58 kB / 332.1 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008178, allocations: 0 / 332.1 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001374/0.008315, allocations: 27.94 kB / 332.2 MB, free: 0.6367 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.001118/0.009433, allocations: 0.5658 MB / 332.7 MB, free: 360 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.826e-05/0.009511, allocations: 40.77 kB / 332.8 MB, free: 316 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.009515, allocations: 4 kB / 332.8 MB, free: 312 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.685e-05/0.009542, allocations: 20.86 kB / 332.8 MB, free: 288 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.009708, allocations: 35.84 kB / 332.8 MB, free: 252 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002691/0.009977, allocations: 216 kB / 333 MB, free: 4 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.216e-05/0.01003, allocations: 75.45 kB / 333.1 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.115e-05/0.01006, allocations: 13.28 kB / 333.1 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.879e-05/0.01012, allocations: 71.36 kB / 333.2 MB, free: 15.82 MB / 314.7 MB Notification: Performance of SimCode: time 4.4e-07/0.01012, allocations: 0 / 333.2 MB, free: 15.82 MB / 314.7 MB Notification: Performance of Templates: time 0.003357/0.01348, allocations: 2.014 MB / 335.2 MB, free: 13.84 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.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.8613093560561538]