Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.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.0007308/0.0007308, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009926/0.001723, allocations: 457.8 kB / 10.45 MB, free: 244 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.0006598/0.0006598, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008301/0.00149, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.9611/0.9611, allocations: 177.5 MB / 190 MB, free: 4.785 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09651/1.058, allocations: 53.87 MB / 243.9 MB, free: 14.84 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.2891/0.2891, allocations: 34.87 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02994/0.3191, allocations: 13.24 MB / 292.8 MB, free: 6.383 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 294.2 MB, free: 4.988 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.315e-05/1.502e-05, allocations: 5.906 kB / 294.2 MB, free: 4.984 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003427/0.003442, allocations: 1.803 MB / 296 MB, free: 3.168 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002128/0.005571, allocations: 1.025 MB / 297 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.005714, allocations: 3.938 kB / 297 MB, free: 2.133 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003247/0.006039, allocations: 43.7 kB / 297.1 MB, free: 2.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004104/0.006449, allocations: 99.42 kB / 297.2 MB, free: 1.992 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.006685, allocations: 83.53 kB / 297.2 MB, free: 1.91 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002229/0.006908, allocations: 103.6 kB / 297.3 MB, free: 1.809 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.00704, allocations: 12 kB / 297.4 MB, free: 1.797 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.007227, allocations: 79.8 kB / 297.4 MB, free: 1.719 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.007347, allocations: 23.92 kB / 297.5 MB, free: 1.695 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.007374, allocations: 4 kB / 297.5 MB, free: 1.691 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.007491, allocations: 47.86 kB / 297.5 MB, free: 1.645 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.586e-05/0.007566, allocations: 27.86 kB / 297.5 MB, free: 1.617 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.15e-05/0.007608, allocations: 15.94 kB / 297.6 MB, free: 1.602 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.007821, allocations: 99.66 kB / 297.6 MB, free: 1.504 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.918e-05/0.007841, allocations: 0 / 297.6 MB, free: 1.504 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.007842, allocations: 0 / 297.6 MB, free: 1.504 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.598e-05/0.007858, allocations: 0 / 297.6 MB, free: 1.504 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.0006826/0.008541, allocations: 348.9 kB / 298 MB, free: 1.141 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.008595, allocations: 8.922 kB / 298 MB, free: 1.133 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.994e-05/0.008645, allocations: 4.938 kB / 298 MB, free: 1.129 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.008861, allocations: 154 kB / 298.2 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.008883, allocations: 4.375 kB / 298.2 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.008914, allocations: 4.375 kB / 298.2 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.009072, allocations: 61.77 kB / 298.2 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.009083, allocations: 192 / 298.2 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.009093, allocations: 4.375 kB / 298.2 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.009102, allocations: 3.938 kB / 298.2 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.278e-05/0.009135, allocations: 15.92 kB / 298.2 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003097/0.009445, allocations: 173.9 kB / 298.4 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.009572, allocations: 81.3 kB / 298.5 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.886e-05/0.009601, allocations: 12.84 kB / 298.5 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.00962, allocations: 4 kB / 298.5 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/0.009762, allocations: 70.14 kB / 298.6 MB, free: 484 kB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.009764, allocations: 0 / 298.6 MB, free: 484 kB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004153/0.01018, allocations: 113.5 kB / 298.7 MB, free: 364 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.01022, allocations: 55.41 kB / 298.7 MB, free: 296 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.01033, allocations: 184.2 kB / 298.9 MB, free: 96 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.01035, allocations: 33.7 kB / 299 MB, free: 56 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.06e-05/0.01039, allocations: 88.12 kB / 299 MB, free: 15.96 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.01042, allocations: 31.72 kB / 299.1 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.01045, allocations: 21.72 kB / 299.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.833e-05/0.01054, allocations: 330.8 kB / 299.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.774e-05/0.01056, allocations: 6.828 kB / 299.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.488e-05/0.01058, allocations: 23.5 kB / 299.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.024e-05/0.01063, allocations: 48.44 kB / 299.5 MB, free: 15.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01063, allocations: 4 kB / 299.5 MB, free: 15.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001038/0.01074, allocations: 72.5 kB / 299.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.01076, allocations: 14.59 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.01076, allocations: 3.938 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.01078, allocations: 0 / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.062e-05/0.01087, allocations: 19.98 kB / 299.6 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.01088, allocations: 0 / 299.6 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.867e-05/0.01091, allocations: 8.375 kB / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.01093, allocations: 0 / 299.6 MB, free: 15.36 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 8.752e-05/0.01102, allocations: 116.7 kB / 299.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.171e-05/0.01104, allocations: 19.91 kB / 299.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.01116, allocations: 75.08 kB / 299.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.01116, allocations: 4 kB / 299.8 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.01117, allocations: 3.984 kB / 299.8 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.01117, allocations: 0 / 299.8 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002554/0.01143, allocations: 291.5 kB / 300.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.01143, allocations: 3.938 kB / 300.1 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.422e-05/0.01146, allocations: 12 kB / 300.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.602e-05/0.01148, allocations: 15.89 kB / 300.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.01148, allocations: 4.031 kB / 300.2 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.01149, allocations: 0 / 300.2 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.01149, allocations: 4 kB / 300.2 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.01149, allocations: 3.938 kB / 300.2 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.01162, allocations: 215 kB / 300.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.01164, allocations: 0 / 300.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.957e-05/0.0117, allocations: 7.984 kB / 300.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.813e-05/0.01173, allocations: 15.92 kB / 300.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.01174, allocations: 0 / 300.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.457e-05/0.01179, allocations: 56.7 kB / 300.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01179, allocations: 4 kB / 300.5 MB, free: 14.46 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002071/0.012, allocations: 23.94 kB / 300.5 MB, free: 14.43 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.001843/0.01384, allocations: 0.6185 MB / 301.1 MB, free: 14.15 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001461/0.01399, allocations: 44.83 kB / 301.1 MB, free: 14.11 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/0.014, allocations: 0 / 301.1 MB, free: 14.11 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.025e-05/0.01405, allocations: 37 kB / 301.2 MB, free: 14.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.01435, allocations: 187.3 kB / 301.4 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005558/0.01491, allocations: 239.9 kB / 301.6 MB, free: 13.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.071e-05/0.01497, allocations: 75.33 kB / 301.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.135e-05/0.01501, allocations: 13.17 kB / 301.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.336e-05/0.01509, allocations: 67.36 kB / 301.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01509, allocations: 0 / 301.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of Templates: time 0.004298/0.01939, allocations: 2.05 MB / 303.8 MB, free: 11.39 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9394153021275997]