Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 91.31 kB / 20.42 MB, free: 4.141 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 169.3 kB / 23.8 MB, free: 0.7695 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9581/0.9581, allocations: 158.6 MB / 185.7 MB, free: 2.535 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1701/0.1701, allocations: 32.37 MB / 270.4 MB, free: 14.69 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 347.7 MB, free: 9.383 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.629e-05/2.84e-05, allocations: 8.219 kB / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002188/0.002216, allocations: 1.734 MB / 349.5 MB, free: 7.629 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009912/0.003207, allocations: 0.7998 MB / 350.3 MB, free: 6.82 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.969e-05/0.003287, allocations: 4 kB / 350.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002988/0.003586, allocations: 39.77 kB / 350.3 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000225/0.003811, allocations: 59.69 kB / 350.4 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002211/0.004032, allocations: 87.7 kB / 350.5 MB, free: 6.633 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.00418, allocations: 95.69 kB / 350.6 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.6e-05/0.004266, allocations: 8.234 kB / 350.6 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.546e-05/0.004342, allocations: 51.77 kB / 350.6 MB, free: 6.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.215e-05/0.004414, allocations: 27.91 kB / 350.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.004433, allocations: 4 kB / 350.7 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.994e-05/0.004513, allocations: 39.92 kB / 350.7 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.501e-05/0.004568, allocations: 27.91 kB / 350.7 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.034e-05/0.004608, allocations: 15.94 kB / 350.7 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.004777, allocations: 99.59 kB / 350.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.004779, allocations: 4 kB / 350.8 MB, free: 6.266 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.00478, allocations: 0 / 350.8 MB, free: 6.266 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.004787, allocations: 0 / 350.8 MB, free: 6.266 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.000405/0.005192, allocations: 451.8 kB / 351.3 MB, free: 5.789 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.005233, allocations: 8.031 kB / 351.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.128e-05/0.005284, allocations: 20.84 kB / 351.3 MB, free: 5.762 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.005451, allocations: 145.8 kB / 351.4 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.005472, allocations: 4.375 kB / 351.5 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.005499, allocations: 384 / 351.5 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.005633, allocations: 62.94 kB / 351.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.005647, allocations: 7.938 kB / 351.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.005658, allocations: 0 / 351.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.005666, allocations: 4 kB / 351.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.74e-05/0.005703, allocations: 15.92 kB / 351.5 MB, free: 5.492 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003101/0.006013, allocations: 287.8 kB / 351.8 MB, free: 5.176 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.006124, allocations: 51.17 kB / 351.9 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.985e-05/0.006154, allocations: 19.61 kB / 351.9 MB, free: 5.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.006169, allocations: 7.875 kB / 351.9 MB, free: 5.082 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000114/0.006283, allocations: 77.05 kB / 352 MB, free: 4.992 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.006285, allocations: 0 / 352 MB, free: 4.992 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004245/0.006709, allocations: 145.4 kB / 352.1 MB, free: 4.844 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.006742, allocations: 55.41 kB / 352.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.006851, allocations: 236 kB / 352.4 MB, free: 4.531 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.606e-06/0.00686, allocations: 25.7 kB / 352.4 MB, free: 4.5 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.125e-05/0.006901, allocations: 154.9 kB / 352.6 MB, free: 4.344 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.00693, allocations: 35.73 kB / 352.6 MB, free: 4.309 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/0.006961, allocations: 27.36 kB / 352.6 MB, free: 4.273 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.001e-05/0.007031, allocations: 0.5001 MB / 353.1 MB, free: 3.762 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.327e-05/0.007054, allocations: 12 kB / 353.2 MB, free: 3.75 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.219e-05/0.007086, allocations: 35.73 kB / 353.2 MB, free: 3.707 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.716e-05/0.007143, allocations: 51.25 kB / 353.2 MB, free: 3.648 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.007145, allocations: 0 / 353.2 MB, free: 3.648 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001352/0.00728, allocations: 93.56 kB / 353.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.007294, allocations: 4 kB / 353.3 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.007299, allocations: 0 / 353.3 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.007313, allocations: 0 / 353.3 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.216e-05/0.007385, allocations: 20 kB / 353.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.00739, allocations: 4.031 kB / 353.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.977e-05/0.00742, allocations: 3.984 kB / 353.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.007427, allocations: 4 kB / 353.4 MB, free: 3.516 MB / 282.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.985e-05/0.007497, allocations: 164.5 kB / 353.5 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.007514, allocations: 19.84 kB / 353.5 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001612/0.007675, allocations: 103.3 kB / 353.6 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.007678, allocations: 4 kB / 353.6 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.007682, allocations: 3.984 kB / 353.7 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.007685, allocations: 0 / 353.7 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002519/0.007937, allocations: 397 kB / 354 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.00794, allocations: 0 / 354 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.045e-05/0.00797, allocations: 15.92 kB / 354.1 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.007974, allocations: 4 kB / 354.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.007981, allocations: 0 / 354.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.007985, allocations: 0 / 354.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.007987, allocations: 4 kB / 354.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.008107, allocations: 263.3 kB / 354.3 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.528e-05/0.008123, allocations: 7.953 kB / 354.3 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.008139, allocations: 4 kB / 354.3 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.107e-05/0.00819, allocations: 3.984 kB / 354.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.008224, allocations: 8.031 kB / 354.3 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.008238, allocations: 7.984 kB / 354.4 MB, free: 2.438 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.731e-05/0.008296, allocations: 175.8 kB / 354.5 MB, free: 2.266 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008296, allocations: 0 / 354.5 MB, free: 2.266 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001718/0.008467, allocations: 23.94 kB / 354.5 MB, free: 2.242 MB / 282.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.0008809/0.009348, allocations: 438.8 kB / 355 MB, free: 1.906 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001416/0.00949, allocations: 59.53 kB / 355 MB, free: 1.844 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.009492, allocations: 0 / 355 MB, free: 1.844 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.376e-05/0.009536, allocations: 39.67 kB / 355.1 MB, free: 1.801 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.009821, allocations: 36.14 kB / 355.1 MB, free: 1.766 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003785/0.0102, allocations: 221.1 kB / 355.3 MB, free: 1.52 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.533e-05/0.01024, allocations: 67.34 kB / 355.4 MB, free: 1.434 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.193e-05/0.01027, allocations: 16.47 kB / 355.4 MB, free: 1.418 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.24e-05/0.0103, allocations: 16.5 kB / 355.4 MB, free: 1.402 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.0103, allocations: 4.062 kB / 355.4 MB, free: 1.398 MB / 282.7 MB Notification: Performance of Templates: time 0.003972/0.01427, allocations: 1.838 MB / 357.3 MB, free: 15.58 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.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.4562007021158934]