Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.001299/0.001299, 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.001353/0.001353, allocations: 164.9 kB / 24.91 MB, free: 8.766 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.9873/0.9873, allocations: 177 MB / 205.2 MB, free: 5.469 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.2758/0.2758, allocations: 34.86 MB / 296.6 MB, free: 0.5273 MB / 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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 326 MB, free: 7.086 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.259e-05, allocations: 2.312 kB / 326 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.002295/0.002318, allocations: 1.758 MB / 327.8 MB, free: 5.312 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.004129, allocations: 1.742 MB / 329.5 MB, free: 3.562 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.3e-05/0.004212, allocations: 0 / 329.5 MB, free: 3.562 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002639/0.004476, allocations: 35.77 kB / 329.5 MB, free: 3.527 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003323/0.004809, allocations: 107.3 kB / 329.6 MB, free: 3.422 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.005004, allocations: 83.66 kB / 329.7 MB, free: 3.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.005153, allocations: 100.4 kB / 329.8 MB, free: 3.242 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.451e-05/0.005237, allocations: 23.95 kB / 329.9 MB, free: 3.219 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.722e-05/0.005324, allocations: 55.84 kB / 329.9 MB, free: 3.164 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.005426, allocations: 31.89 kB / 329.9 MB, free: 3.133 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.00544, allocations: 4 kB / 329.9 MB, free: 3.129 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.005595, allocations: 107.8 kB / 330 MB, free: 3.023 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.658e-05/0.005642, allocations: 23.86 kB / 330.1 MB, free: 3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.37e-05/0.005675, allocations: 27.91 kB / 330.1 MB, free: 2.973 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.005892, allocations: 155.5 kB / 330.2 MB, free: 2.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.005894, allocations: 0 / 330.2 MB, free: 2.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.005895, allocations: 3.938 kB / 330.3 MB, free: 2.816 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.005898, allocations: 4 kB / 330.3 MB, free: 2.812 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.0005072/0.006406, allocations: 325.5 kB / 330.6 MB, free: 2.473 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.006441, allocations: 8.031 kB / 330.6 MB, free: 2.465 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.006477, allocations: 8.922 kB / 330.6 MB, free: 2.457 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.00666, allocations: 142.2 kB / 330.7 MB, free: 2.293 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.006678, allocations: 4.375 kB / 330.7 MB, free: 2.289 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.006702, allocations: 8.359 kB / 330.7 MB, free: 2.281 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.006859, allocations: 105.1 kB / 330.8 MB, free: 2.156 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.006872, allocations: 7.922 kB / 330.9 MB, free: 2.148 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.006879, allocations: 4 kB / 330.9 MB, free: 2.145 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.006885, allocations: 4 kB / 330.9 MB, free: 2.141 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.994e-05/0.006915, allocations: 10.81 kB / 330.9 MB, free: 2.129 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002354/0.00715, allocations: 169.9 kB / 331 MB, free: 1.945 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.844e-05/0.007248, allocations: 85.36 kB / 331.1 MB, free: 1.852 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.888e-05/0.007267, allocations: 8.859 kB / 331.1 MB, free: 1.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.007281, allocations: 4 kB / 331.1 MB, free: 1.836 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.157e-05/0.007373, allocations: 70.08 kB / 331.2 MB, free: 1.754 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.007374, allocations: 0 / 331.2 MB, free: 1.754 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003121/0.007686, allocations: 113.5 kB / 331.3 MB, free: 1.637 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.007731, allocations: 85.11 kB / 331.4 MB, free: 1.535 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.007841, allocations: 156.3 kB / 331.5 MB, free: 1.367 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.007858, allocations: 25.7 kB / 331.6 MB, free: 1.336 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.487e-05/0.007892, allocations: 92.11 kB / 331.7 MB, free: 1.242 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.007922, allocations: 31.73 kB / 331.7 MB, free: 1.207 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.007961, allocations: 25.7 kB / 331.7 MB, free: 1.176 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.01e-05/0.008051, allocations: 318.8 kB / 332 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.639e-05/0.008077, allocations: 14.81 kB / 332 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.378e-05/0.008121, allocations: 56.2 kB / 332.1 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.122e-05/0.008172, allocations: 52.84 kB / 332.2 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.008174, allocations: 0 / 332.2 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.953e-05/0.008264, allocations: 76.38 kB / 332.2 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.008276, allocations: 4 kB / 332.2 MB, free: 0.625 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.008283, allocations: 4 kB / 332.2 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.0083, allocations: 4 kB / 332.2 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.471e-05/0.008365, allocations: 15.98 kB / 332.3 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.008368, allocations: 0 / 332.3 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.135e-05/0.0084, allocations: 0 / 332.3 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.403e-06/0.008406, allocations: 8 kB / 332.3 MB, free: 0.5938 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.941e-05/0.008476, allocations: 116.7 kB / 332.4 MB, free: 480 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.455e-05/0.00849, allocations: 15.86 kB / 332.4 MB, free: 464 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/0.008605, allocations: 71.2 kB / 332.5 MB, free: 388 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.008608, allocations: 4 kB / 332.5 MB, free: 384 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.008609, allocations: 0 / 332.5 MB, free: 384 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.008613, allocations: 0 / 332.5 MB, free: 384 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.008864, allocations: 291.6 kB / 332.7 MB, free: 64 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.008868, allocations: 4 kB / 332.8 MB, free: 60 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.495e-05/0.008903, allocations: 11.94 kB / 332.8 MB, free: 48 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.008906, allocations: 4.031 kB / 332.8 MB, free: 44 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.008912, allocations: 0 / 332.8 MB, free: 44 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.008915, allocations: 3.984 kB / 332.8 MB, free: 40 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.008917, allocations: 4.078 kB / 332.8 MB, free: 36 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.009058, allocations: 223 kB / 333 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.409e-05/0.009072, allocations: 7.953 kB / 333 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.009088, allocations: 0 / 333 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.766e-05/0.009136, allocations: 11.98 kB / 333 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.648e-05/0.009162, allocations: 4 kB / 333 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.009176, allocations: 3.984 kB / 333 MB, free: 15.77 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.549e-05/0.009221, allocations: 45.08 kB / 333.1 MB, free: 15.72 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009221, allocations: 0 / 333.1 MB, free: 15.72 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000197/0.009418, allocations: 51.86 kB / 333.1 MB, free: 15.67 MB / 314.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.00149/0.01091, allocations: 0.6879 MB / 333.8 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001161/0.01102, allocations: 52.75 kB / 333.9 MB, free: 15.25 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.01103, allocations: 0 / 333.9 MB, free: 15.25 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.223e-05/0.01106, allocations: 20.8 kB / 333.9 MB, free: 15.22 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001836/0.01124, allocations: 45.86 kB / 333.9 MB, free: 15.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003132/0.01156, allocations: 200 kB / 334.1 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.811e-05/0.0116, allocations: 63.34 kB / 334.2 MB, free: 14.87 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.568e-05/0.01164, allocations: 25.09 kB / 334.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.65e-05/0.01172, allocations: 71.36 kB / 334.3 MB, free: 14.77 MB / 314.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01172, allocations: 0 / 334.3 MB, free: 14.77 MB / 314.7 MB Notification: Performance of Templates: time 0.004526/0.01624, allocations: 2.76 MB / 337 MB, free: 12.05 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.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.1228263857774436]