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.00135/0.00135, allocations: 88.86 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.001322/0.001322, allocations: 160.9 kB / 24.91 MB, free: 8.719 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.9563/0.9563, allocations: 177 MB / 205.2 MB, free: 5.043 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.2462/0.2462, allocations: 34.86 MB / 296.6 MB, free: 388 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.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 9.41e-07/9.41e-07, allocations: 0 / 326 MB, free: 7.031 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.288e-05/1.382e-05, allocations: 5.266 kB / 326 MB, free: 7.027 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002001/0.002014, allocations: 1.759 MB / 327.8 MB, free: 5.254 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.003174, allocations: 1.006 MB / 328.8 MB, free: 4.242 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.531e-05/0.00323, allocations: 0 / 328.8 MB, free: 4.242 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002161/0.003446, allocations: 47.7 kB / 328.8 MB, free: 4.195 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002294/0.003675, allocations: 99.48 kB / 328.9 MB, free: 4.098 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001511/0.003826, allocations: 83.59 kB / 329 MB, free: 4.016 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.003949, allocations: 108.4 kB / 329.1 MB, free: 3.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.414e-05/0.004003, allocations: 11.98 kB / 329.1 MB, free: 3.898 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.22e-05/0.004075, allocations: 51.78 kB / 329.2 MB, free: 3.848 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.362e-05/0.004128, allocations: 27.89 kB / 329.2 MB, free: 3.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.004139, allocations: 4 kB / 329.2 MB, free: 3.816 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.313e-05/0.004212, allocations: 43.92 kB / 329.2 MB, free: 3.773 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.496e-05/0.004257, allocations: 27.86 kB / 329.3 MB, free: 3.746 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.776e-05/0.004295, allocations: 19.92 kB / 329.3 MB, free: 3.727 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.004457, allocations: 103.7 kB / 329.4 MB, free: 3.625 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.00446, allocations: 3.984 kB / 329.4 MB, free: 3.621 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.00446, allocations: 0 / 329.4 MB, free: 3.621 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.004464, allocations: 4 kB / 329.4 MB, free: 3.617 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.0003915/0.004855, allocations: 321.4 kB / 329.7 MB, free: 3.281 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.901e-05/0.004884, allocations: 12.02 kB / 329.7 MB, free: 3.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.567e-05/0.00491, allocations: 12.94 kB / 329.7 MB, free: 3.258 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.005042, allocations: 150.1 kB / 329.9 MB, free: 3.086 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.005054, allocations: 384 / 329.9 MB, free: 3.086 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.005071, allocations: 8.359 kB / 329.9 MB, free: 3.078 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.816e-05/0.00516, allocations: 65.77 kB / 330 MB, free: 3.004 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.005167, allocations: 192 / 330 MB, free: 3.004 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.001e-06/0.005173, allocations: 384 / 330 MB, free: 3.004 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.005178, allocations: 3.938 kB / 330 MB, free: 3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.302e-05/0.005201, allocations: 11.94 kB / 330 MB, free: 2.988 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002197/0.005421, allocations: 165.9 kB / 330.1 MB, free: 2.809 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.334e-05/0.005504, allocations: 85.28 kB / 330.2 MB, free: 2.715 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.989e-05/0.005524, allocations: 20.91 kB / 330.2 MB, free: 2.691 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.195e-06/0.005533, allocations: 0 / 330.2 MB, free: 2.691 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.43e-05/0.005607, allocations: 66.16 kB / 330.3 MB, free: 2.613 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 7.62e-07/0.005608, allocations: 0 / 330.3 MB, free: 2.613 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002427/0.00585, allocations: 121.4 kB / 330.4 MB, free: 2.488 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.005876, allocations: 51.41 kB / 330.5 MB, free: 2.426 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.668e-05/0.005972, allocations: 176.3 kB / 330.6 MB, free: 2.238 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.005987, allocations: 29.7 kB / 330.7 MB, free: 2.203 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.143e-05/0.006018, allocations: 100 kB / 330.8 MB, free: 2.102 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.006039, allocations: 23.78 kB / 330.8 MB, free: 2.078 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.838e-05/0.006067, allocations: 25.7 kB / 330.8 MB, free: 2.047 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.464e-05/0.006142, allocations: 326.8 kB / 331.1 MB, free: 1.719 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.488e-05/0.006157, allocations: 10.83 kB / 331.1 MB, free: 1.707 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.32e-05/0.00618, allocations: 29.7 kB / 331.2 MB, free: 1.672 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.67e-05/0.006227, allocations: 44.45 kB / 331.2 MB, free: 1.621 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.006228, allocations: 4 kB / 331.2 MB, free: 1.617 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.896e-05/0.006297, allocations: 64.5 kB / 331.3 MB, free: 1.547 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.006307, allocations: 7.938 kB / 331.3 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/0.00631, allocations: 0 / 331.3 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.006322, allocations: 7.922 kB / 331.3 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.868e-05/0.006371, allocations: 12 kB / 331.3 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.006374, allocations: 8.406 kB / 331.3 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.469e-05/0.006399, allocations: 7.938 kB / 331.3 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.006405, allocations: 4 kB / 331.3 MB, free: 1.5 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 5.802e-05/0.006463, allocations: 112.7 kB / 331.4 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.006479, allocations: 19.94 kB / 331.5 MB, free: 1.359 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.926e-05/0.006568, allocations: 79.05 kB / 331.5 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.006571, allocations: 4 kB / 331.5 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.006572, allocations: 0 / 331.5 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.006575, allocations: 0 / 331.5 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.006773, allocations: 295.5 kB / 331.8 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.006775, allocations: 3.938 kB / 331.8 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.096e-05/0.006796, allocations: 11.98 kB / 331.8 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.006797, allocations: 0 / 331.8 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-06/0.006802, allocations: 0 / 331.8 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.006804, allocations: 4.234 kB / 331.9 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.006805, allocations: 0 / 331.9 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.583e-05/0.006901, allocations: 220.8 kB / 332.1 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.256e-05/0.006914, allocations: 15.84 kB / 332.1 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.006928, allocations: 4 kB / 332.1 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.553e-05/0.006963, allocations: 32 / 332.1 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.201e-05/0.006985, allocations: 15.98 kB / 332.1 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.006994, allocations: 7.938 kB / 332.1 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.399e-05/0.007038, allocations: 60.67 kB / 332.2 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007038, allocations: 0 / 332.2 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000145/0.007183, allocations: 23.94 kB / 332.2 MB, free: 0.5703 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.00119/0.008373, allocations: 0.5545 MB / 332.7 MB, free: 304 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.736e-05/0.008461, allocations: 40.78 kB / 332.8 MB, free: 260 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.008464, allocations: 4 kB / 332.8 MB, free: 256 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.572e-05/0.00849, allocations: 16.86 kB / 332.8 MB, free: 236 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.008655, allocations: 39.84 kB / 332.8 MB, free: 196 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003094/0.008965, allocations: 239.9 kB / 333.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.163e-05/0.009006, allocations: 67.33 kB / 333.1 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.685e-05/0.009043, allocations: 21.27 kB / 333.2 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.756e-05/0.009111, allocations: 63.38 kB / 333.2 MB, free: 15.75 MB / 314.7 MB Notification: Performance of SimCode: time 4.01e-07/0.009111, allocations: 0 / 333.2 MB, free: 15.75 MB / 314.7 MB Notification: Performance of Templates: time 0.003372/0.01248, allocations: 2.027 MB / 335.3 MB, free: 13.76 MB / 314.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0282845101319253]