Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.001216/0.001216, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.004541/0.004541, allocations: 166.3 kB / 24.82 MB, free: 9.312 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.9245/0.9245, allocations: 177 MB / 205.1 MB, free: 5.48 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.2623/0.2623, allocations: 34.86 MB / 296.6 MB, free: 0.5195 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 379.3 MB, free: 1.746 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.55e-05/1.702e-05, allocations: 6.953 kB / 379.3 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002288/0.002305, allocations: 1.788 MB / 381.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.003515, allocations: 1.009 MB / 382.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.03e-05/0.003605, allocations: 3.938 kB / 382.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003003/0.003905, allocations: 111.6 kB / 382.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003001/0.004206, allocations: 135.4 kB / 382.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.004385, allocations: 83.59 kB / 382.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.004535, allocations: 135.6 kB / 382.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.496e-05/0.00462, allocations: 17.56 kB / 382.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.691e-05/0.004717, allocations: 83.73 kB / 382.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.296e-05/0.00481, allocations: 67.84 kB / 382.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.004824, allocations: 4 kB / 382.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.648e-05/0.00491, allocations: 63.86 kB / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.129e-05/0.004961, allocations: 31.91 kB / 382.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.704e-05/0.004998, allocations: 31.86 kB / 382.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.005161, allocations: 135.5 kB / 383 MB, free: 14.03 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.423e-06/0.005162, allocations: 0 / 383 MB, free: 14.03 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.005163, allocations: 0 / 383 MB, free: 14.03 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.005166, allocations: 3.938 kB / 383 MB, free: 14.03 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003956/0.005562, allocations: 491.5 kB / 383.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.005594, allocations: 8.031 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.087e-05/0.005635, allocations: 28.78 kB / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.005768, allocations: 161.3 kB / 383.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.005782, allocations: 4.375 kB / 383.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.005799, allocations: 4.375 kB / 383.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.005913, allocations: 82.8 kB / 383.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.005923, allocations: 192 / 383.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.00593, allocations: 384 / 383.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.005937, allocations: 7.938 kB / 383.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.757e-05/0.005975, allocations: 23.97 kB / 383.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000256/0.006231, allocations: 288.3 kB / 384.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.006367, allocations: 70.95 kB / 384.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.307e-05/0.00639, allocations: 15.69 kB / 384.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.006405, allocations: 4 kB / 384.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.651e-05/0.006491, allocations: 80.97 kB / 384.3 MB, free: 12.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.006492, allocations: 0 / 384.3 MB, free: 12.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004503/0.006943, allocations: 245.9 kB / 384.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.287e-05/0.006966, allocations: 51.41 kB / 384.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.007097, allocations: 262.7 kB / 384.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.007112, allocations: 29.7 kB / 384.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.463e-05/0.007176, allocations: 170.8 kB / 385 MB, free: 11.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.007211, allocations: 51.56 kB / 385 MB, free: 11.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.007248, allocations: 43.3 kB / 385.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.007362, allocations: 0.5079 MB / 385.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.38e-05/0.007386, allocations: 16.09 kB / 385.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.399e-05/0.00742, allocations: 43.28 kB / 385.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.356e-05/0.007484, allocations: 74.55 kB / 385.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.007485, allocations: 0 / 385.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001237/0.007608, allocations: 133.5 kB / 385.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.747e-06/0.007617, allocations: 4 kB / 385.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.007622, allocations: 4 kB / 385.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.007633, allocations: 0 / 385.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.755e-05/0.007691, allocations: 28.02 kB / 385.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.007695, allocations: 7.938 kB / 385.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.49e-05/0.00772, allocations: 0 / 385.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.007728, allocations: 8 kB / 385.9 MB, free: 10.91 MB / 362.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 (16): * Single equations (assignments): 16 * 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 7.125e-05/0.007799, allocations: 172.5 kB / 386.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.007823, allocations: 23.91 kB / 386.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001712/0.007994, allocations: 153.2 kB / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.007997, allocations: 4 kB / 386.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.007998, allocations: 0 / 386.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.008002, allocations: 3.984 kB / 386.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003177/0.008319, allocations: 453.2 kB / 386.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.008322, allocations: 3.984 kB / 386.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.801e-05/0.00836, allocations: 23.94 kB / 386.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.008362, allocations: 0 / 386.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.008372, allocations: 11.98 kB / 386.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.008373, allocations: 0 / 386.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.008374, allocations: 0 / 386.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.008537, allocations: 307 kB / 387 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.436e-05/0.008552, allocations: 23.95 kB / 387.1 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.008569, allocations: 4 kB / 387.1 MB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.144e-05/0.00861, allocations: 7.938 kB / 387.1 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.959e-05/0.00864, allocations: 23.84 kB / 387.1 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.008652, allocations: 8 kB / 387.1 MB, free: 9.629 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.055e-05/0.008732, allocations: 181.4 kB / 387.3 MB, free: 9.453 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008732, allocations: 4 kB / 387.3 MB, free: 9.449 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000189/0.008921, allocations: 35.94 kB / 387.3 MB, free: 9.414 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.0009272/0.009849, allocations: 479.2 kB / 387.8 MB, free: 9.094 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001186/0.009967, allocations: 75.58 kB / 387.9 MB, free: 9.016 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.009969, allocations: 0 / 387.9 MB, free: 9.016 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.603e-05/0.01001, allocations: 43.61 kB / 387.9 MB, free: 8.969 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.01024, allocations: 32.16 kB / 387.9 MB, free: 8.938 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003633/0.0106, allocations: 321.7 kB / 388.3 MB, free: 8.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/0.01081, allocations: 79.83 kB / 388.3 MB, free: 8.492 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.689e-05/0.01085, allocations: 25.47 kB / 388.4 MB, free: 8.465 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.339e-05/0.01093, allocations: 94.19 kB / 388.4 MB, free: 8.371 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01093, allocations: 0 / 388.4 MB, free: 8.371 MB / 362.7 MB Notification: Performance of Templates: time 0.003863/0.01479, allocations: 2.594 MB / 391 MB, free: 5.816 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.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.929443733766675]