Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.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.001062/0.001062, allocations: 91.22 kB / 20.43 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.001013/0.001013, allocations: 169.3 kB / 23.8 MB, free: 0.7734 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.07/1.07, allocations: 158.6 MB / 185.7 MB, free: 2.922 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.1518/0.1518, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 3.938 kB / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/2.027e-05, allocations: 2.312 kB / 347.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002047/0.002067, allocations: 1.738 MB / 349.5 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009416/0.003009, allocations: 0.7921 MB / 350.3 MB, free: 6.82 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.342e-05/0.003082, allocations: 4 kB / 350.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002928/0.003375, allocations: 43.7 kB / 350.3 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002082/0.003583, allocations: 51.77 kB / 350.4 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.003767, allocations: 79.7 kB / 350.5 MB, free: 6.645 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.003942, allocations: 107.6 kB / 350.6 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.004049, allocations: 4.234 kB / 350.6 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.598e-05/0.004125, allocations: 51.84 kB / 350.6 MB, free: 6.484 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.758e-05/0.004203, allocations: 27.91 kB / 350.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.004222, allocations: 4 kB / 350.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.525e-05/0.004297, allocations: 47.86 kB / 350.7 MB, free: 6.406 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.592e-05/0.004343, allocations: 19.91 kB / 350.7 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.72e-05/0.00438, allocations: 19.92 kB / 350.7 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.004537, allocations: 95.66 kB / 350.8 MB, free: 6.273 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.004539, allocations: 0 / 350.8 MB, free: 6.273 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.00454, allocations: 0 / 350.8 MB, free: 6.273 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.004544, allocations: 3.938 kB / 350.8 MB, free: 6.27 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.0003942/0.004938, allocations: 432 kB / 351.2 MB, free: 5.812 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.004974, allocations: 12.03 kB / 351.3 MB, free: 5.801 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.131e-05/0.005025, allocations: 20.83 kB / 351.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.005159, allocations: 152.2 kB / 351.4 MB, free: 5.605 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.005175, allocations: 4.359 kB / 351.4 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.005194, allocations: 4.375 kB / 351.4 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.005306, allocations: 58.94 kB / 351.5 MB, free: 5.531 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.005317, allocations: 3.938 kB / 351.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.005327, allocations: 4 kB / 351.5 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.005334, allocations: 0 / 351.5 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.226e-05/0.005366, allocations: 19.98 kB / 351.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002711/0.005637, allocations: 275.8 kB / 351.8 MB, free: 5.199 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.005747, allocations: 51.17 kB / 351.8 MB, free: 5.137 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.097e-05/0.005778, allocations: 27.59 kB / 351.9 MB, free: 5.105 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.005792, allocations: 0 / 351.9 MB, free: 5.105 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.637e-05/0.005888, allocations: 65.05 kB / 351.9 MB, free: 5.027 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.005889, allocations: 0 / 351.9 MB, free: 5.027 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003749/0.006264, allocations: 149.6 kB / 352.1 MB, free: 4.875 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.006292, allocations: 59.34 kB / 352.1 MB, free: 4.805 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.253e-05/0.006385, allocations: 219 kB / 352.3 MB, free: 4.574 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.006394, allocations: 33.69 kB / 352.4 MB, free: 4.535 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.777e-05/0.006432, allocations: 150.8 kB / 352.5 MB, free: 4.383 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.006457, allocations: 27.78 kB / 352.6 MB, free: 4.355 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-05/0.006486, allocations: 23.38 kB / 352.6 MB, free: 4.324 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.288e-05/0.006539, allocations: 0.4961 MB / 353.1 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.24e-05/0.006561, allocations: 16.17 kB / 353.1 MB, free: 3.801 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.164e-05/0.006593, allocations: 35.39 kB / 353.1 MB, free: 3.758 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.052e-05/0.006643, allocations: 59.22 kB / 353.2 MB, free: 3.691 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.006645, allocations: 8 kB / 353.2 MB, free: 3.684 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.541e-05/0.006741, allocations: 77.64 kB / 353.3 MB, free: 3.602 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.006754, allocations: 8 kB / 353.3 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.00676, allocations: 0 / 353.3 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.006774, allocations: 0 / 353.3 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.502e-05/0.006849, allocations: 19.92 kB / 353.3 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.006855, allocations: 4 kB / 353.3 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.592e-05/0.006881, allocations: 4 kB / 353.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.006888, allocations: 4 kB / 353.3 MB, free: 3.562 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 5.55e-05/0.006944, allocations: 172.5 kB / 353.5 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.173e-05/0.006956, allocations: 11.91 kB / 353.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/0.007089, allocations: 106.5 kB / 353.6 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.007091, allocations: 0 / 353.6 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.007094, allocations: 0 / 353.6 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.007098, allocations: 3.984 kB / 353.6 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.007314, allocations: 389 kB / 354 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.007315, allocations: 0 / 354 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.18e-05/0.007337, allocations: 8 kB / 354 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.00734, allocations: 4 kB / 354 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.007348, allocations: 4.031 kB / 354 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.007349, allocations: 0 / 354 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.00735, allocations: 0 / 354 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.874e-05/0.007448, allocations: 263.4 kB / 354.2 MB, free: 2.535 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.416e-06/0.007457, allocations: 7.953 kB / 354.3 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.889e-05/0.007476, allocations: 11.98 kB / 354.3 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.476e-05/0.00751, allocations: 3.938 kB / 354.3 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.007544, allocations: 7.984 kB / 354.3 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.007556, allocations: 8 kB / 354.3 MB, free: 2.496 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.917e-05/0.007605, allocations: 159.1 kB / 354.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007605, allocations: 0 / 354.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001687/0.007774, allocations: 27.94 kB / 354.5 MB, free: 2.312 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.0008499/0.008624, allocations: 449.7 kB / 354.9 MB, free: 1.969 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001233/0.008747, allocations: 55.53 kB / 355 MB, free: 1.91 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.008749, allocations: 4 kB / 355 MB, free: 1.906 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.784e-05/0.008787, allocations: 35.61 kB / 355 MB, free: 1.867 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.009005, allocations: 31.88 kB / 355 MB, free: 1.836 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003104/0.009316, allocations: 206 kB / 355.2 MB, free: 1.602 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.431e-05/0.00935, allocations: 67.33 kB / 355.3 MB, free: 1.516 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.256e-05/0.009382, allocations: 16.47 kB / 355.3 MB, free: 1.5 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.009413, allocations: 20.5 kB / 355.3 MB, free: 1.48 MB / 282.7 MB Notification: Performance of SimCode: time 3.71e-07/0.009413, allocations: 0 / 355.3 MB, free: 1.48 MB / 282.7 MB Notification: Performance of Templates: time 0.003728/0.01314, allocations: 1.976 MB / 357.3 MB, free: 15.52 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.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.2673511249013245]