Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.002428/0.002428, allocations: 96.97 kB / 20.21 MB, free: 4.211 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.002816/0.002816, allocations: 169.6 kB / 23.53 MB, free: 0.8984 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.615/1.615, allocations: 158.6 MB / 185.3 MB, free: 2.906 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.2141/0.2141, allocations: 32.37 MB / 270 MB, free: 14.77 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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,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.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.275e-06/2.275e-06, allocations: 0 / 347 MB, free: 9.746 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.151e-05/3.378e-05, allocations: 2.312 kB / 347 MB, free: 9.742 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002837/0.00287, allocations: 1.711 MB / 348.7 MB, free: 8.023 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.004041, allocations: 0.7844 MB / 349.5 MB, free: 7.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.909e-05/0.00411, allocations: 3.938 kB / 349.5 MB, free: 7.227 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003294/0.00444, allocations: 39.78 kB / 349.5 MB, free: 7.188 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.004661, allocations: 51.7 kB / 349.6 MB, free: 7.137 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.004878, allocations: 91.69 kB / 349.7 MB, free: 7.047 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.005032, allocations: 99.62 kB / 349.8 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.202e-05/0.005124, allocations: 8.219 kB / 349.8 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.473e-05/0.005219, allocations: 51.84 kB / 349.8 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.469e-05/0.005294, allocations: 23.91 kB / 349.9 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.005318, allocations: 4 kB / 349.9 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.745e-05/0.005405, allocations: 47.86 kB / 349.9 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.531e-05/0.005471, allocations: 19.92 kB / 349.9 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.152e-05/0.005522, allocations: 15.92 kB / 349.9 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.005716, allocations: 115.6 kB / 350.1 MB, free: 6.668 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.00572, allocations: 4 kB / 350.1 MB, free: 6.664 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005721, allocations: 0 / 350.1 MB, free: 6.664 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.005727, 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.0004971/0.006224, allocations: 439.6 kB / 350.5 MB, free: 6.199 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.006259, allocations: 8.031 kB / 350.5 MB, free: 6.191 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.058e-05/0.00632, allocations: 16.84 kB / 350.5 MB, free: 6.176 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.006513, allocations: 149.9 kB / 350.7 MB, free: 6.004 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.006531, allocations: 4.375 kB / 350.7 MB, free: 6 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.006551, allocations: 384 / 350.7 MB, free: 6 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.006681, allocations: 54.23 kB / 350.7 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.006696, allocations: 11.94 kB / 350.7 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.006707, allocations: 3.984 kB / 350.7 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.006712, allocations: 0 / 350.7 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.744e-05/0.006779, allocations: 12 kB / 350.8 MB, free: 5.914 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003207/0.0071, allocations: 299.7 kB / 351 MB, free: 5.586 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.00725, allocations: 59.17 kB / 351.1 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.011e-05/0.0073, allocations: 23.61 kB / 351.1 MB, free: 5.488 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.00732, allocations: 4 kB / 351.1 MB, free: 5.484 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001504/0.00747, allocations: 72.98 kB / 351.2 MB, free: 5.398 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.153e-06/0.007471, allocations: 8 kB / 351.2 MB, free: 5.391 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004975/0.007969, allocations: 173.4 kB / 351.4 MB, free: 5.215 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.007994, allocations: 51.41 kB / 351.4 MB, free: 5.152 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.008115, allocations: 233.8 kB / 351.7 MB, free: 4.906 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.008126, allocations: 25.7 kB / 351.7 MB, free: 4.875 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.752e-05/0.008173, allocations: 158.8 kB / 351.8 MB, free: 4.715 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.0082, allocations: 27.8 kB / 351.9 MB, free: 4.688 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.008236, allocations: 27.36 kB / 351.9 MB, free: 4.652 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.651e-05/0.008333, allocations: 0.5001 MB / 352.4 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.848e-05/0.008381, allocations: 16 kB / 352.4 MB, free: 4.125 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.322e-05/0.008435, allocations: 43.36 kB / 352.4 MB, free: 4.074 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.296e-05/0.008528, allocations: 75.23 kB / 352.5 MB, free: 3.992 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.008528, allocations: 0 / 352.5 MB, free: 3.992 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001477/0.008676, allocations: 101.6 kB / 352.6 MB, free: 3.887 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.008691, allocations: 8 kB / 352.6 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.008697, allocations: 3.984 kB / 352.6 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.008713, allocations: 0 / 352.6 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.935e-05/0.008802, allocations: 20.25 kB / 352.7 MB, free: 3.855 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.008809, allocations: 0 / 352.7 MB, free: 3.855 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.977e-05/0.008849, allocations: 4 kB / 352.7 MB, free: 3.852 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.008858, allocations: 12.03 kB / 352.7 MB, free: 3.84 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 7.691e-05/0.008935, allocations: 173.5 kB / 352.8 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.008959, allocations: 19.91 kB / 352.9 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002144/0.009174, allocations: 118.5 kB / 353 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.009176, allocations: 0 / 353 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.00918, allocations: 0 / 353 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.009183, allocations: 0 / 353 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003519/0.009535, allocations: 409 kB / 353.4 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.009536, allocations: 0 / 353.4 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.72e-05/0.009573, allocations: 15.98 kB / 353.4 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.009575, allocations: 4.031 kB / 353.4 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.009585, allocations: 0 / 353.4 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.009587, allocations: 4 kB / 353.4 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.009589, allocations: 3.938 kB / 353.4 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.009781, allocations: 271.4 kB / 353.7 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.671e-05/0.009798, allocations: 7.953 kB / 353.7 MB, free: 2.75 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.00982, allocations: 0 / 353.7 MB, free: 2.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.421e-05/0.009884, allocations: 7.984 kB / 353.7 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.009931, allocations: 8 kB / 353.7 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.009948, allocations: 7.984 kB / 353.7 MB, free: 2.727 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.873e-05/0.01005, allocations: 171.1 kB / 353.9 MB, free: 2.559 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.01005, allocations: 4 kB / 353.9 MB, free: 2.555 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002715/0.01032, allocations: 23.94 kB / 353.9 MB, free: 2.531 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.003142/0.01346, allocations: 489.9 kB / 354.4 MB, free: 2.152 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001989/0.01366, allocations: 75.59 kB / 354.4 MB, free: 2.074 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.01366, allocations: 0 / 354.4 MB, free: 2.074 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.277e-05/0.01373, allocations: 43.61 kB / 354.5 MB, free: 2.027 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.0141, allocations: 39.25 kB / 354.5 MB, free: 1.992 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004209/0.01452, allocations: 213.5 kB / 354.7 MB, free: 1.75 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.964e-05/0.01459, allocations: 81.45 kB / 354.8 MB, free: 1.652 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.37e-05/0.01463, allocations: 20.91 kB / 354.8 MB, free: 1.629 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.938e-05/0.01467, allocations: 20.5 kB / 354.9 MB, free: 1.609 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01467, allocations: 0 / 354.9 MB, free: 1.609 MB / 282.7 MB Notification: Performance of Templates: time 0.005191/0.01986, allocations: 1.83 MB / 356.7 MB, free: 15.8 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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: 5.318588449968956]