Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.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.001602/0.001602, allocations: 96.2 kB / 20.21 MB, free: 4.195 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.001711/0.001711, allocations: 157.3 kB / 23.52 MB, free: 0.8945 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 1.567/1.567, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] 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.2493/0.2493, allocations: 32.38 MB / 270 MB, free: 14.78 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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 347 MB, free: 9.738 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.871e-05/3.041e-05, allocations: 2.312 kB / 347 MB, free: 9.734 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002527/0.002557, allocations: 1.693 MB / 348.7 MB, free: 8.031 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.003751, allocations: 0.7765 MB / 349.5 MB, free: 7.246 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.046e-05/0.003821, allocations: 0 / 349.5 MB, free: 7.246 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003355/0.004156, allocations: 51.69 kB / 349.5 MB, free: 7.195 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002219/0.004378, allocations: 55.7 kB / 349.6 MB, free: 7.141 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.004613, allocations: 91.69 kB / 349.7 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.004762, allocations: 91.7 kB / 349.8 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.004865, allocations: 8.219 kB / 349.8 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.639e-05/0.004951, allocations: 59.77 kB / 349.8 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.936e-05/0.00502, allocations: 19.92 kB / 349.8 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.00504, allocations: 4 kB / 349.8 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.506e-05/0.005126, allocations: 47.91 kB / 349.9 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.712e-05/0.005183, allocations: 19.92 kB / 349.9 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.88e-05/0.005231, allocations: 15.94 kB / 349.9 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.005419, allocations: 123.5 kB / 350.1 MB, free: 6.668 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.005423, allocations: 4 kB / 350.1 MB, free: 6.664 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.005424, allocations: 0 / 350.1 MB, free: 6.664 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.005432, allocations: 0 / 350.1 MB, free: 6.664 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.0004837/0.005916, allocations: 341.6 kB / 350.4 MB, free: 6.301 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.005953, allocations: 8.031 kB / 350.4 MB, free: 6.293 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.682e-05/0.00601, allocations: 16.84 kB / 350.4 MB, free: 6.277 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.006226, allocations: 147.2 kB / 350.6 MB, free: 6.109 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.006241, allocations: 384 / 350.6 MB, free: 6.109 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.006266, allocations: 8.375 kB / 350.6 MB, free: 6.102 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.006403, allocations: 54.17 kB / 350.6 MB, free: 6.043 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.006416, allocations: 11.94 kB / 350.6 MB, free: 6.031 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.006428, allocations: 0 / 350.6 MB, free: 6.031 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.006432, allocations: 4 kB / 350.6 MB, free: 6.027 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.719e-05/0.006509, allocations: 19.98 kB / 350.7 MB, free: 6.008 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000342/0.006852, allocations: 232.5 kB / 350.9 MB, free: 5.75 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.007023, allocations: 58.59 kB / 350.9 MB, free: 5.684 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.765e-05/0.00708, allocations: 24.78 kB / 351 MB, free: 5.656 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.007098, allocations: 4 kB / 351 MB, free: 5.652 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001381/0.007236, allocations: 67.34 kB / 351 MB, free: 5.574 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.007237, allocations: 8 kB / 351 MB, free: 5.566 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005649/0.007802, allocations: 181.4 kB / 351.2 MB, free: 5.383 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.007827, allocations: 51.41 kB / 351.3 MB, free: 5.32 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.007966, allocations: 208.4 kB / 351.5 MB, free: 5.109 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.007976, allocations: 29.69 kB / 351.5 MB, free: 5.074 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.008023, allocations: 104.1 kB / 351.6 MB, free: 4.969 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.008051, allocations: 27.78 kB / 351.6 MB, free: 4.941 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.008084, allocations: 17.72 kB / 351.6 MB, free: 4.918 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.238e-05/0.008137, allocations: 326.8 kB / 352 MB, free: 4.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.518e-05/0.008192, allocations: 23.98 kB / 352 MB, free: 4.566 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.883e-05/0.008251, allocations: 41.64 kB / 352 MB, free: 4.52 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.008354, allocations: 65.64 kB / 352.1 MB, free: 4.449 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.008355, allocations: 0 / 352.1 MB, free: 4.449 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001623/0.008517, allocations: 109.5 kB / 352.2 MB, free: 4.336 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.00853, allocations: 4 kB / 352.2 MB, free: 4.332 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.008535, allocations: 4.375 kB / 352.2 MB, free: 4.328 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.008556, allocations: 0 / 352.2 MB, free: 4.328 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.008657, allocations: 12 kB / 352.2 MB, free: 4.316 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.008661, allocations: 4.031 kB / 352.2 MB, free: 4.312 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.751e-05/0.008709, allocations: 11.98 kB / 352.2 MB, free: 4.301 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.008718, allocations: 8 kB / 352.2 MB, free: 4.293 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.398e-05/0.008782, allocations: 125.7 kB / 352.4 MB, free: 4.16 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.008806, allocations: 19.89 kB / 352.4 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002187/0.009025, allocations: 127.2 kB / 352.5 MB, free: 4.008 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.009028, allocations: 4 kB / 352.5 MB, free: 4.004 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.009032, allocations: 0 / 352.5 MB, free: 4.004 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.009035, allocations: 0 / 352.5 MB, free: 4.004 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003187/0.009353, allocations: 346.9 kB / 352.9 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.009356, allocations: 7.984 kB / 352.9 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.544e-05/0.009392, allocations: 8 kB / 352.9 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.009394, allocations: 0 / 352.9 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.009403, allocations: 0 / 352.9 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.009404, allocations: 4 kB / 352.9 MB, free: 3.605 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.009405, allocations: 0 / 352.9 MB, free: 3.605 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.009605, allocations: 220.2 kB / 353.1 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.741e-05/0.009622, allocations: 11.95 kB / 353.1 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.009644, allocations: 4 kB / 353.1 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.275e-05/0.009717, allocations: 4.031 kB / 353.1 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.009759, allocations: 7.984 kB / 353.1 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.009774, allocations: 11.94 kB / 353.1 MB, free: 3.332 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.449e-05/0.009859, allocations: 155.9 kB / 353.3 MB, free: 3.18 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009859, allocations: 0 / 353.3 MB, free: 3.18 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002638/0.01012, allocations: 31.92 kB / 353.3 MB, free: 3.148 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.002156/0.01228, allocations: 498.5 kB / 353.8 MB, free: 2.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002136/0.01249, allocations: 59.97 kB / 353.9 MB, free: 2.711 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.01249, allocations: 3.938 kB / 353.9 MB, free: 2.707 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.009e-05/0.01256, allocations: 27.97 kB / 353.9 MB, free: 2.68 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.01293, allocations: 37.47 kB / 353.9 MB, free: 2.645 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004222/0.01335, allocations: 244.4 kB / 354.2 MB, free: 2.379 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.821e-05/0.01341, allocations: 96.3 kB / 354.3 MB, free: 2.262 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.591e-05/0.01347, allocations: 20.78 kB / 354.3 MB, free: 2.242 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/0.0135, allocations: 16.5 kB / 354.3 MB, free: 2.227 MB / 282.7 MB Notification: Performance of SimCode: time 7.51e-07/0.0135, allocations: 0 / 354.3 MB, free: 2.227 MB / 282.7 MB Notification: Performance of Templates: time 0.004851/0.01836, allocations: 1.835 MB / 356.1 MB, free: 416 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.971236928016879]