Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.001306/0.001306, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001928/0.003234, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.001189/0.001189, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001431/0.00262, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.103/1.103, allocations: 158.6 MB / 171 MB, free: 2.176 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2067/1.31, allocations: 49.5 MB / 220.5 MB, free: 5.27 MB / 218.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.1516/0.1516, allocations: 32.35 MB / 253.6 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02513/0.1767, allocations: 12.3 MB / 265.9 MB, free: 7.82 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 267.3 MB, free: 6.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.155e-05, allocations: 10.25 kB / 267.3 MB, free: 6.449 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.00232/0.002341, allocations: 1.778 MB / 269.1 MB, free: 4.652 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.003503, allocations: 0.7997 MB / 269.9 MB, free: 3.844 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.003605, allocations: 4 kB / 269.9 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002432/0.003848, allocations: 43.72 kB / 269.9 MB, free: 3.797 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.004007, allocations: 63.62 kB / 270 MB, free: 3.734 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.004265, allocations: 79.7 kB / 270.1 MB, free: 3.656 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.004467, allocations: 95.69 kB / 270.1 MB, free: 3.562 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.00459, allocations: 8.234 kB / 270.2 MB, free: 3.555 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.004717, allocations: 79.77 kB / 270.2 MB, free: 3.477 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.654e-05/0.004804, allocations: 19.91 kB / 270.3 MB, free: 3.457 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.004825, allocations: 4 kB / 270.3 MB, free: 3.453 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.004932, allocations: 47.92 kB / 270.3 MB, free: 3.406 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.796e-05/0.005, allocations: 23.92 kB / 270.3 MB, free: 3.383 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.645e-05/0.005047, allocations: 11.94 kB / 270.3 MB, free: 3.371 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.005252, allocations: 99.55 kB / 270.4 MB, free: 3.273 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.097e-05/0.005273, allocations: 0 / 270.4 MB, free: 3.273 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.005274, allocations: 0 / 270.4 MB, free: 3.273 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.895e-05/0.005293, allocations: 4 kB / 270.4 MB, free: 3.27 MB / 266.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.000527/0.00582, allocations: 319.9 kB / 270.8 MB, free: 2.934 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.005858, allocations: 12.03 kB / 270.8 MB, free: 2.922 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.771e-05/0.005895, allocations: 8.922 kB / 270.8 MB, free: 2.914 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.006081, allocations: 149.5 kB / 270.9 MB, free: 2.742 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.006101, allocations: 4.375 kB / 270.9 MB, free: 2.738 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.006121, allocations: 384 / 270.9 MB, free: 2.738 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.006261, allocations: 65.7 kB / 271 MB, free: 2.664 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.006274, allocations: 7.938 kB / 271 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.006282, allocations: 0 / 271 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.006289, allocations: 0 / 271 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.183e-05/0.006321, allocations: 7.984 kB / 271 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002679/0.006589, allocations: 174 kB / 271.2 MB, free: 2.461 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.00671, allocations: 85.3 kB / 271.3 MB, free: 2.367 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.482e-05/0.006735, allocations: 16.8 kB / 271.3 MB, free: 2.348 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.006752, allocations: 4 kB / 271.3 MB, free: 2.344 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001266/0.006879, allocations: 74.14 kB / 271.4 MB, free: 2.258 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.00688, allocations: 0 / 271.4 MB, free: 2.258 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003306/0.00721, allocations: 109.5 kB / 271.5 MB, free: 2.145 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.007249, allocations: 59.34 kB / 271.5 MB, free: 2.074 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.007354, allocations: 164.3 kB / 271.7 MB, free: 1.898 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.007368, allocations: 25.7 kB / 271.7 MB, free: 1.867 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.44e-05/0.007402, allocations: 96.06 kB / 271.8 MB, free: 1.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.007431, allocations: 31.83 kB / 271.8 MB, free: 1.738 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.007464, allocations: 21.72 kB / 271.8 MB, free: 1.711 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.175e-05/0.007556, allocations: 326.8 kB / 272.2 MB, free: 1.383 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.551e-05/0.007571, allocations: 6.828 kB / 272.2 MB, free: 1.375 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.623e-05/0.007598, allocations: 29.64 kB / 272.2 MB, free: 1.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.258e-05/0.00764, allocations: 40.52 kB / 272.2 MB, free: 1.293 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.007641, allocations: 0 / 272.2 MB, free: 1.293 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.082e-05/0.007722, allocations: 68.38 kB / 272.3 MB, free: 1.219 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.007735, allocations: 8 kB / 272.3 MB, free: 1.211 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.007741, allocations: 8.016 kB / 272.3 MB, free: 1.203 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.007751, allocations: 0 / 272.3 MB, free: 1.203 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.835e-05/0.007829, allocations: 23.98 kB / 272.3 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.007833, allocations: 0 / 272.3 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.883e-05/0.007862, allocations: 7.938 kB / 272.4 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-06/0.007868, allocations: 0 / 272.4 MB, free: 1.172 MB / 266.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.814e-05/0.007946, allocations: 124.6 kB / 272.5 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.238e-05/0.007958, allocations: 7.938 kB / 272.5 MB, free: 1.031 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.008068, allocations: 78.44 kB / 272.6 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.00807, allocations: 0 / 272.6 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.008072, allocations: 4 kB / 272.6 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.008076, allocations: 0 / 272.6 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.008316, allocations: 291.4 kB / 272.8 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.008319, allocations: 0 / 272.8 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.995e-05/0.008349, allocations: 15.92 kB / 272.9 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.481e-05/0.008364, allocations: 11.91 kB / 272.9 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.008365, allocations: 0 / 272.9 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.008378, allocations: 8 kB / 272.9 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.008379, allocations: 0 / 272.9 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.00838, allocations: 0 / 272.9 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.008516, allocations: 219 kB / 273.1 MB, free: 376 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.008536, allocations: 12.36 kB / 273.1 MB, free: 364 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.894e-05/0.008575, allocations: 0 / 273.1 MB, free: 364 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.00861, allocations: 11.92 kB / 273.1 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.008624, allocations: 8 kB / 273.1 MB, free: 344 kB / 266.7 MB Notification: Performance of sorting global known variables: time 4.369e-05/0.008668, allocations: 44.53 kB / 273.2 MB, free: 296 kB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008668, allocations: 0 / 273.2 MB, free: 296 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001583/0.008826, allocations: 23.98 kB / 273.2 MB, free: 272 kB / 266.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.001315/0.01014, allocations: 0.64 MB / 273.8 MB, free: 15.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001196/0.01026, allocations: 44.73 kB / 273.9 MB, free: 15.56 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.01027, allocations: 0 / 273.9 MB, free: 15.56 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.103e-05/0.0103, allocations: 28.78 kB / 273.9 MB, free: 15.53 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.0105, allocations: 47.94 kB / 274 MB, free: 15.48 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004834/0.01098, allocations: 218.6 kB / 274.2 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.47e-05/0.01103, allocations: 63.34 kB / 274.2 MB, free: 15.16 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.668e-05/0.01106, allocations: 12.8 kB / 274.2 MB, free: 15.14 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.868e-05/0.01113, allocations: 67.36 kB / 274.3 MB, free: 15.08 MB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01113, allocations: 0 / 274.3 MB, free: 15.08 MB / 282.7 MB Notification: Performance of Templates: time 0.00388/0.01501, allocations: 2.029 MB / 276.3 MB, free: 13.05 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.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.1086464868858457]