Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008086/0.0008086, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001249/0.002057, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006193/0.0006193, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009426/0.001562, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9618/0.9618, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1761/1.138, allocations: 52.5 MB / 238.5 MB, free: 7.609 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1484/0.1484, allocations: 32.8 MB / 272 MB, free: 6.281 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02527/0.1737, allocations: 12.54 MB / 284.5 MB, free: 9.703 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 285.9 MB, free: 8.309 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.844e-05/3.02e-05, allocations: 2.312 kB / 285.9 MB, free: 8.305 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002991/0.003021, allocations: 1.787 MB / 287.7 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.004358, allocations: 0.8843 MB / 288.6 MB, free: 5.617 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.81e-05/0.004426, allocations: 4 kB / 288.6 MB, free: 5.613 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001967/0.004623, allocations: 31.78 kB / 288.7 MB, free: 5.582 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001641/0.004787, allocations: 67.56 kB / 288.7 MB, free: 5.516 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.005037, allocations: 111.5 kB / 288.8 MB, free: 5.406 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.005204, allocations: 95.69 kB / 288.9 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.535e-05/0.005289, allocations: 8.172 kB / 288.9 MB, free: 5.301 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.005425, allocations: 79.77 kB / 289 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.474e-05/0.00551, allocations: 23.91 kB / 289 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.005529, allocations: 8 kB / 289 MB, free: 5.191 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.911e-05/0.005628, allocations: 43.92 kB / 289.1 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.013e-05/0.005678, allocations: 19.94 kB / 289.1 MB, free: 5.129 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.519e-05/0.005713, allocations: 15.94 kB / 289.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.005895, allocations: 99.53 kB / 289.2 MB, free: 5.016 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.214e-05/0.005908, allocations: 0 / 289.2 MB, free: 5.016 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.005908, allocations: 0 / 289.2 MB, free: 5.016 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.005918, allocations: 0 / 289.2 MB, free: 5.016 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.0004687/0.006387, allocations: 327.9 kB / 289.5 MB, free: 4.672 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.006424, allocations: 12.03 kB / 289.5 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.006462, allocations: 12.92 kB / 289.6 MB, free: 4.648 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.006642, allocations: 148.1 kB / 289.7 MB, free: 4.48 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.006658, allocations: 4.375 kB / 289.7 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.006678, allocations: 384 / 289.7 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.006835, allocations: 65.77 kB / 289.8 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.006846, allocations: 3.938 kB / 289.8 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.006855, allocations: 3.984 kB / 289.8 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.006861, allocations: 0 / 289.8 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.945e-05/0.006891, allocations: 12 kB / 289.8 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002306/0.007122, allocations: 170 kB / 290 MB, free: 4.199 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.007231, allocations: 89.23 kB / 290 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.421e-05/0.007256, allocations: 12.86 kB / 290.1 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.007267, allocations: 0 / 290.1 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001124/0.00738, allocations: 70.14 kB / 290.1 MB, free: 4.004 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.007381, allocations: 0 / 290.1 MB, free: 4.004 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003661/0.007747, allocations: 109.5 kB / 290.2 MB, free: 3.891 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.007779, allocations: 55.39 kB / 290.3 MB, free: 3.824 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.007911, allocations: 177 kB / 290.5 MB, free: 3.637 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.007929, allocations: 29.7 kB / 290.5 MB, free: 3.602 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.728e-05/0.007967, allocations: 100 kB / 290.6 MB, free: 3.5 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.007997, allocations: 27.78 kB / 290.6 MB, free: 3.473 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.008036, allocations: 25.7 kB / 290.6 MB, free: 3.441 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.959e-05/0.008126, allocations: 322.8 kB / 291 MB, free: 3.117 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.338e-05/0.008149, allocations: 14.77 kB / 291 MB, free: 3.102 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.921e-05/0.008178, allocations: 25.7 kB / 291 MB, free: 3.07 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.347e-05/0.008232, allocations: 40.5 kB / 291 MB, free: 3.023 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.008233, allocations: 0 / 291 MB, free: 3.023 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001043/0.008337, allocations: 84.47 kB / 291.1 MB, free: 2.934 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.008352, allocations: 8 kB / 291.1 MB, free: 2.926 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.008356, allocations: 0 / 291.1 MB, free: 2.926 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.008369, allocations: 0 / 291.1 MB, free: 2.926 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.318e-05/0.008452, allocations: 19.98 kB / 291.1 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.008455, allocations: 0 / 291.1 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.556e-05/0.008491, allocations: 0 / 291.1 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.008498, allocations: 4 kB / 291.1 MB, free: 2.902 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.441e-05/0.008572, allocations: 120.6 kB / 291.3 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.904e-05/0.008591, allocations: 11.92 kB / 291.3 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/0.008717, allocations: 79.08 kB / 291.4 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.008721, allocations: 7.984 kB / 291.4 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.008722, allocations: 0 / 291.4 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.008727, allocations: 3.984 kB / 291.4 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.008982, allocations: 291.8 kB / 291.7 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.008985, allocations: 4 kB / 291.7 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.784e-05/0.009023, allocations: 12 kB / 291.7 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.433e-05/0.009037, allocations: 11.91 kB / 291.7 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.009039, allocations: 0 / 291.7 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.00905, allocations: 7.984 kB / 291.7 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.009052, allocations: 4.031 kB / 291.7 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.009053, allocations: 0 / 291.7 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.009178, allocations: 215 kB / 291.9 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.009198, allocations: 4 kB / 291.9 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.444e-05/0.009263, allocations: 0 / 291.9 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.803e-05/0.009291, allocations: 7.984 kB / 291.9 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.009305, allocations: 8 kB / 291.9 MB, free: 2.066 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.83e-05/0.009363, allocations: 44.34 kB / 292 MB, free: 2.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009363, allocations: 7.938 kB / 292 MB, free: 2.012 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002609/0.009624, allocations: 27.92 kB / 292 MB, free: 1.984 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.001984/0.01161, allocations: 0.6277 MB / 292.6 MB, free: 1.676 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001035/0.01171, allocations: 52.69 kB / 292.7 MB, free: 1.621 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/0.01172, allocations: 12.09 kB / 292.7 MB, free: 1.609 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.719e-05/0.01177, allocations: 28.78 kB / 292.7 MB, free: 1.578 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.01208, allocations: 180.4 kB / 292.9 MB, free: 1.371 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005043/0.01258, allocations: 227.1 kB / 293.1 MB, free: 1.117 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.623e-05/0.01263, allocations: 67.33 kB / 293.2 MB, free: 1.031 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.612e-05/0.01267, allocations: 20.48 kB / 293.2 MB, free: 1.012 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.544e-05/0.01275, allocations: 63.47 kB / 293.3 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01275, allocations: 4 kB / 293.3 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of Templates: time 0.003767/0.01651, allocations: 2.028 MB / 295.3 MB, free: 14.95 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9092193376272917]