Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.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.001042/0.001042, allocations: 95.2 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.001188/0.001188, allocations: 165 kB / 23.8 MB, free: 0.7773 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.028/1.028, allocations: 158.6 MB / 185.7 MB, free: 2.898 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.1782/0.1782, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 347.7 MB, free: 9.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.316e-05/3.516e-05, allocations: 6.25 kB / 347.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002825/0.00286, allocations: 1.736 MB / 349.5 MB, free: 7.625 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.003873, allocations: 0.7999 MB / 350.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.963e-05/0.003952, allocations: 0 / 350.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003405/0.004293, allocations: 63.69 kB / 350.3 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002353/0.004528, allocations: 51.77 kB / 350.4 MB, free: 6.703 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.004791, allocations: 87.69 kB / 350.5 MB, free: 6.617 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.004956, allocations: 103.6 kB / 350.6 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.442e-05/0.005051, allocations: 4.234 kB / 350.6 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.107e-05/0.005142, allocations: 51.84 kB / 350.6 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.807e-05/0.00522, allocations: 27.91 kB / 350.7 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.005241, allocations: 8 kB / 350.7 MB, free: 6.426 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.355e-05/0.005334, allocations: 43.86 kB / 350.7 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.524e-05/0.005389, allocations: 35.84 kB / 350.8 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.253e-05/0.005432, allocations: 19.92 kB / 350.8 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.005628, allocations: 107.5 kB / 350.9 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.005632, allocations: 4 kB / 350.9 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.005633, allocations: 0 / 350.9 MB, free: 6.219 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.005639, allocations: 0 / 350.9 MB, free: 6.219 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.0004508/0.00609, allocations: 471.7 kB / 351.3 MB, free: 5.723 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/0.006145, allocations: 8.031 kB / 351.3 MB, free: 5.715 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.135e-05/0.006206, allocations: 20.84 kB / 351.4 MB, free: 5.695 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.006363, allocations: 160.3 kB / 351.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.006382, allocations: 4.375 kB / 351.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.006403, allocations: 384 / 351.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.006548, allocations: 62.94 kB / 351.6 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.00656, allocations: 3.938 kB / 351.6 MB, free: 5.434 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.00657, allocations: 0 / 351.6 MB, free: 5.434 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.006577, allocations: 0 / 351.6 MB, free: 5.434 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.685e-05/0.006614, allocations: 15.98 kB / 351.6 MB, free: 5.418 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003021/0.006916, allocations: 299.7 kB / 351.9 MB, free: 5.09 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.007021, allocations: 55.17 kB / 352 MB, free: 5.023 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.2e-05/0.007053, allocations: 27.59 kB / 352 MB, free: 4.992 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.007066, allocations: 4 kB / 352 MB, free: 4.988 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.391e-05/0.00716, allocations: 65.05 kB / 352.1 MB, free: 4.91 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.007161, allocations: 3.938 kB / 352.1 MB, free: 4.906 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000377/0.007538, allocations: 153.5 kB / 352.2 MB, free: 4.75 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/0.007563, allocations: 55.34 kB / 352.3 MB, free: 4.684 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.007677, allocations: 277.3 kB / 352.5 MB, free: 4.395 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.007686, allocations: 33.64 kB / 352.6 MB, free: 4.355 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.046e-05/0.007726, allocations: 166.9 kB / 352.7 MB, free: 4.188 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.007751, allocations: 35.77 kB / 352.8 MB, free: 4.152 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.007782, allocations: 23.38 kB / 352.8 MB, free: 4.121 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.318e-05/0.007835, allocations: 0.5001 MB / 353.3 MB, free: 3.609 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.457e-05/0.007859, allocations: 16.17 kB / 353.3 MB, free: 3.594 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.229e-05/0.007892, allocations: 39.36 kB / 353.3 MB, free: 3.547 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.085e-05/0.007943, allocations: 51.25 kB / 353.4 MB, free: 3.488 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.007944, allocations: 0 / 353.4 MB, free: 3.488 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001084/0.008052, allocations: 93.58 kB / 353.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.008068, allocations: 8.031 kB / 353.5 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.008073, allocations: 0 / 353.5 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.00809, allocations: 0 / 353.5 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.743e-05/0.008177, allocations: 19.94 kB / 353.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.008184, allocations: 0 / 353.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.208e-05/0.008216, allocations: 7.984 kB / 353.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.008222, allocations: 4 kB / 353.5 MB, free: 3.352 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.528e-05/0.008278, allocations: 164.5 kB / 353.7 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.576e-05/0.008293, allocations: 15.91 kB / 353.7 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001928/0.008486, allocations: 111.2 kB / 353.8 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.008489, allocations: 4 kB / 353.8 MB, free: 3.043 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.008494, allocations: 0 / 353.8 MB, free: 3.043 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.008499, allocations: 0 / 353.8 MB, free: 3.043 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003072/0.008807, allocations: 409 kB / 354.2 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.008808, allocations: 0 / 354.2 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.539e-05/0.008844, allocations: 8 kB / 354.2 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.008848, allocations: 0 / 354.2 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.008858, allocations: 4 kB / 354.2 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.008862, allocations: 0 / 354.2 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.008866, allocations: 3.938 kB / 354.2 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.009014, allocations: 267.4 kB / 354.5 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.35e-05/0.009027, allocations: 11.94 kB / 354.5 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.009051, allocations: 7.938 kB / 354.5 MB, free: 2.277 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.649e-05/0.009098, allocations: 4 kB / 354.5 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.009144, allocations: 7.984 kB / 354.5 MB, free: 2.266 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.00916, allocations: 0 / 354.5 MB, free: 2.266 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.369e-05/0.009244, allocations: 204.3 kB / 354.7 MB, free: 2.066 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009244, allocations: 0 / 354.7 MB, free: 2.066 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002024/0.009446, allocations: 27.89 kB / 354.7 MB, free: 2.039 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.001078/0.01052, allocations: 435.6 kB / 355.2 MB, free: 1.707 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001453/0.01067, allocations: 59.55 kB / 355.2 MB, free: 1.645 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.01067, allocations: 0 / 355.2 MB, free: 1.645 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.681e-05/0.01071, allocations: 31.61 kB / 355.3 MB, free: 1.609 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.01096, allocations: 35.11 kB / 355.3 MB, free: 1.578 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004217/0.01139, allocations: 258 kB / 355.5 MB, free: 1.297 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.853e-05/0.01142, allocations: 71.33 kB / 355.6 MB, free: 1.207 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.587e-05/0.01146, allocations: 20.59 kB / 355.6 MB, free: 1.188 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.381e-05/0.01149, allocations: 20.5 kB / 355.7 MB, free: 1.164 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01149, allocations: 0 / 355.7 MB, free: 1.164 MB / 282.7 MB Notification: Performance of Templates: time 0.004414/0.01591, allocations: 1.998 MB / 357.7 MB, free: 15.18 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.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.4499886641278863]