Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.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.001028/0.001028, 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.001124/0.001124, allocations: 161 kB / 24.91 MB, free: 9.184 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 1.005/1.005, allocations: 177 MB / 205.2 MB, free: 5.488 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.2819/0.2819, allocations: 34.87 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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 326 MB, free: 7.098 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.047e-05, allocations: 4.172 kB / 326 MB, free: 7.094 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002222/0.002242, allocations: 1.762 MB / 327.8 MB, free: 5.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.003609, allocations: 1.008 MB / 328.8 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.748e-05/0.003706, allocations: 7.938 kB / 328.8 MB, free: 4.301 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003058/0.004012, allocations: 47.69 kB / 328.8 MB, free: 4.254 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003777/0.00439, allocations: 95.53 kB / 328.9 MB, free: 4.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.004655, allocations: 79.61 kB / 329 MB, free: 4.082 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001973/0.004852, allocations: 108.4 kB / 329.1 MB, free: 3.977 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.819e-05/0.00494, allocations: 11.97 kB / 329.1 MB, free: 3.965 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.005061, allocations: 59.77 kB / 329.2 MB, free: 3.906 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.01e-05/0.005151, allocations: 27.92 kB / 329.2 MB, free: 3.879 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.005168, allocations: 4 kB / 329.2 MB, free: 3.875 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.00528, allocations: 43.92 kB / 329.2 MB, free: 3.832 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.844e-05/0.005339, allocations: 27.91 kB / 329.3 MB, free: 3.805 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.045e-05/0.005379, allocations: 19.92 kB / 329.3 MB, free: 3.785 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.005596, allocations: 103.6 kB / 329.4 MB, free: 3.684 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.005599, allocations: 0 / 329.4 MB, free: 3.684 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.0056, allocations: 0 / 329.4 MB, free: 3.684 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.005603, allocations: 0 / 329.4 MB, free: 3.684 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.0004292/0.006032, allocations: 321.5 kB / 329.7 MB, free: 3.348 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.00607, allocations: 16.03 kB / 329.7 MB, free: 3.332 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.818e-05/0.006108, allocations: 8.922 kB / 329.7 MB, free: 3.324 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.006298, allocations: 150.1 kB / 329.9 MB, free: 3.152 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.006315, allocations: 384 / 329.9 MB, free: 3.152 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.006337, allocations: 4.375 kB / 329.9 MB, free: 3.148 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.006461, allocations: 61.77 kB / 329.9 MB, free: 3.078 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.006473, allocations: 192 / 329.9 MB, free: 3.078 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.006483, allocations: 384 / 329.9 MB, free: 3.078 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.006491, allocations: 7.938 kB / 329.9 MB, free: 3.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.195e-05/0.006523, allocations: 11.92 kB / 330 MB, free: 3.059 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002367/0.00676, allocations: 174 kB / 330.1 MB, free: 2.871 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.006872, allocations: 93.22 kB / 330.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.309e-05/0.006895, allocations: 8.859 kB / 330.2 MB, free: 2.758 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.006909, allocations: 4 kB / 330.2 MB, free: 2.754 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.908e-05/0.007008, allocations: 66.14 kB / 330.3 MB, free: 2.676 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.00701, allocations: 0 / 330.3 MB, free: 2.676 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003478/0.007357, allocations: 117.5 kB / 330.4 MB, free: 2.555 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.007397, allocations: 55.41 kB / 330.5 MB, free: 2.488 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.007545, allocations: 180.2 kB / 330.6 MB, free: 2.297 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.007566, allocations: 33.7 kB / 330.7 MB, free: 2.258 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.051e-05/0.007606, allocations: 100.1 kB / 330.8 MB, free: 2.156 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.007637, allocations: 23.78 kB / 330.8 MB, free: 2.133 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.825e-05/0.007675, allocations: 21.7 kB / 330.8 MB, free: 2.105 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.678e-05/0.007772, allocations: 326.8 kB / 331.1 MB, free: 1.777 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.185e-05/0.007794, allocations: 10.83 kB / 331.1 MB, free: 1.766 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.971e-05/0.007824, allocations: 21.7 kB / 331.2 MB, free: 1.738 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.945e-05/0.007883, allocations: 52.45 kB / 331.2 MB, free: 1.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.007884, allocations: 0 / 331.2 MB, free: 1.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001061/0.00799, allocations: 68.88 kB / 331.3 MB, free: 1.605 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.008004, allocations: 7.938 kB / 331.3 MB, free: 1.598 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.008009, allocations: 0 / 331.3 MB, free: 1.598 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.008023, allocations: 4 kB / 331.3 MB, free: 1.594 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.943e-05/0.008102, allocations: 23.92 kB / 331.3 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.008105, allocations: 0 / 331.3 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.654e-05/0.008142, allocations: 0 / 331.3 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.00815, allocations: 8 kB / 331.3 MB, free: 1.562 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 7.517e-05/0.008225, allocations: 112.7 kB / 331.4 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.008247, allocations: 15.92 kB / 331.5 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.008384, allocations: 79.11 kB / 331.5 MB, free: 1.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.008387, allocations: 3.984 kB / 331.5 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.008389, allocations: 0 / 331.5 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.008392, allocations: 0 / 331.5 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/0.008674, allocations: 291.5 kB / 331.8 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.008677, allocations: 3.938 kB / 331.8 MB, free: 1.016 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.943e-05/0.008717, allocations: 8 kB / 331.8 MB, free: 1.008 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.00872, allocations: 0 / 331.8 MB, free: 1.008 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.008731, allocations: 7.984 kB / 331.8 MB, free: 1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.008733, allocations: 4.172 kB / 331.8 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.008734, allocations: 4.031 kB / 331.8 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.008881, allocations: 219 kB / 332.1 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.793e-05/0.008899, allocations: 15.84 kB / 332.1 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.008921, allocations: 4 kB / 332.1 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.761e-05/0.008989, allocations: 3.984 kB / 332.1 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/0.00902, allocations: 8 kB / 332.1 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.009034, allocations: 7.984 kB / 332.1 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.807e-05/0.009102, allocations: 60.62 kB / 332.2 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009103, allocations: 0 / 332.2 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002844/0.009387, allocations: 27.94 kB / 332.2 MB, free: 0.6289 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.001906/0.01129, allocations: 0.554 MB / 332.7 MB, free: 364 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001246/0.01142, allocations: 44.77 kB / 332.8 MB, free: 316 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.01142, allocations: 8.062 kB / 332.8 MB, free: 308 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.931e-05/0.01146, allocations: 20.84 kB / 332.8 MB, free: 284 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.01174, allocations: 35.91 kB / 332.8 MB, free: 248 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004534/0.01219, allocations: 227.9 kB / 333.1 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.501e-05/0.01225, allocations: 67.3 kB / 333.1 MB, free: 15.9 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.286e-05/0.0123, allocations: 17.27 kB / 333.2 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.773e-05/0.01239, allocations: 71.41 kB / 333.2 MB, free: 15.81 MB / 314.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01239, allocations: 4 kB / 333.2 MB, free: 15.81 MB / 314.7 MB Notification: Performance of Templates: time 0.004786/0.01718, allocations: 2.022 MB / 335.3 MB, free: 13.82 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.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.8876476772129536]