Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.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.001239/0.001239, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001734/0.002973, allocations: 452 kB / 10.43 MB, free: 264 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.001035/0.001035, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001383/0.002419, allocations: 483.5 kB / 11.8 MB, free: 2.363 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 0.9138/0.9138, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1697/1.084, allocations: 49.49 MB / 220.7 MB, free: 1.371 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.1532/0.1532, allocations: 32.35 MB / 253.8 MB, free: 236 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02306/0.1763, allocations: 12.32 MB / 266.1 MB, free: 3.875 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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 267.5 MB, free: 2.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/2.641e-05, allocations: 6.25 kB / 267.5 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002776/0.002802, allocations: 1.778 MB / 269.3 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007244/0.01005, allocations: 0.8036 MB / 270.1 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.302e-05/0.01013, allocations: 7.938 kB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002329/0.01036, allocations: 43.7 kB / 270.1 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001615/0.01052, allocations: 67.62 kB / 270.2 MB, free: 15.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.01075, allocations: 87.64 kB / 270.3 MB, free: 15.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.0109, allocations: 95.64 kB / 270.4 MB, free: 15.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.919e-05/0.01097, allocations: 12.23 kB / 270.4 MB, free: 15.56 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.01109, allocations: 67.83 kB / 270.4 MB, free: 15.49 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.178e-05/0.01116, allocations: 27.91 kB / 270.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.01118, allocations: 4 kB / 270.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.322e-05/0.01127, allocations: 35.92 kB / 270.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.852e-05/0.01132, allocations: 27.86 kB / 270.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.169e-05/0.01135, allocations: 15.94 kB / 270.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.01153, allocations: 99.61 kB / 270.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.127e-05/0.01154, allocations: 0 / 270.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.01154, allocations: 0 / 270.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.01155, allocations: 0 / 270.6 MB, free: 15.29 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.0004154/0.01196, allocations: 327.9 kB / 271 MB, free: 14.94 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.012, allocations: 15.97 kB / 271 MB, free: 14.93 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.01203, allocations: 4.938 kB / 271 MB, free: 14.92 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003186/0.01522, allocations: 146.3 kB / 271.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.01524, allocations: 4.375 kB / 271.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.01526, allocations: 4.359 kB / 271.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.01538, allocations: 73.7 kB / 271.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.01539, allocations: 3.938 kB / 271.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-06/0.0154, allocations: 0 / 271.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.371e-06/0.01541, allocations: 3.984 kB / 271.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.633e-05/0.01543, allocations: 8 kB / 271.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002204/0.01565, allocations: 173.9 kB / 271.4 MB, free: 14.46 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.644e-05/0.01575, allocations: 81.3 kB / 271.5 MB, free: 14.37 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.5e-05/0.01578, allocations: 16.84 kB / 271.5 MB, free: 14.35 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.01579, allocations: 3.938 kB / 271.5 MB, free: 14.35 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001069/0.0159, allocations: 78.14 kB / 271.6 MB, free: 14.26 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.0159, allocations: 0 / 271.6 MB, free: 14.26 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003284/0.01623, allocations: 113.5 kB / 271.7 MB, free: 14.14 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.01626, allocations: 51.41 kB / 271.7 MB, free: 14.08 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.01638, allocations: 177 kB / 271.9 MB, free: 13.89 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.0164, allocations: 29.7 kB / 271.9 MB, free: 13.86 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.532e-05/0.01643, allocations: 96.09 kB / 272 MB, free: 13.76 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.01646, allocations: 19.8 kB / 272 MB, free: 13.74 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.0165, allocations: 29.69 kB / 272.1 MB, free: 13.7 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.45e-05/0.01659, allocations: 322.8 kB / 272.4 MB, free: 13.38 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.818e-05/0.01661, allocations: 10.83 kB / 272.4 MB, free: 13.37 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.049e-05/0.01664, allocations: 29.69 kB / 272.4 MB, free: 13.33 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.939e-05/0.01669, allocations: 36.47 kB / 272.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.01669, allocations: 0 / 272.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.802e-05/0.01678, allocations: 80.36 kB / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.0168, allocations: 8 kB / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.0168, allocations: 0 / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.01681, allocations: 0 / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.943e-05/0.01689, allocations: 19.98 kB / 272.6 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.856e-06/0.0169, allocations: 4.031 kB / 272.6 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.286e-05/0.01693, allocations: 0 / 272.6 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.01694, allocations: 11.94 kB / 272.6 MB, free: 13.16 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 6.87e-05/0.017, allocations: 112.7 kB / 272.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/0.01702, allocations: 15.86 kB / 272.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.01715, allocations: 79.25 kB / 272.8 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.01715, allocations: 4 kB / 272.8 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.01715, allocations: 0 / 272.8 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.01715, allocations: 0 / 272.8 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.01743, allocations: 299.4 kB / 273.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.01744, allocations: 0 / 273.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.011e-05/0.01748, allocations: 11.94 kB / 273.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.592e-05/0.01749, allocations: 15.92 kB / 273.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.0175, allocations: 4 kB / 273.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.0175, allocations: 0 / 273.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.01751, allocations: 0 / 273.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.01751, allocations: 384 / 273.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.01764, allocations: 219 kB / 273.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.01766, allocations: 3.984 kB / 273.3 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.091e-05/0.01772, allocations: 4 kB / 273.3 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.021e-05/0.01775, allocations: 16.02 kB / 273.3 MB, free: 12.33 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.01777, allocations: 4 kB / 273.3 MB, free: 12.33 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.493e-05/0.01782, allocations: 44.36 kB / 273.4 MB, free: 12.28 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01782, allocations: 0 / 273.4 MB, free: 12.28 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.003225/0.02105, allocations: 27.92 kB / 273.4 MB, free: 12.25 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.001582/0.02263, allocations: 0.6399 MB / 274.1 MB, free: 11.6 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00012/0.02275, allocations: 52.7 kB / 274.1 MB, free: 11.55 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.02276, allocations: 0 / 274.1 MB, free: 11.55 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.335e-05/0.0228, allocations: 24.84 kB / 274.1 MB, free: 11.52 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.0231, allocations: 180.3 kB / 274.3 MB, free: 11.31 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005449/0.02364, allocations: 226.4 kB / 274.5 MB, free: 11.06 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.613e-05/0.02369, allocations: 67.34 kB / 274.6 MB, free: 10.98 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.221e-05/0.02373, allocations: 12.48 kB / 274.6 MB, free: 10.96 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.743e-05/0.02381, allocations: 71.36 kB / 274.7 MB, free: 10.89 MB / 282.7 MB Notification: Performance of SimCode: time 8.12e-07/0.02381, allocations: 0 / 274.7 MB, free: 10.89 MB / 282.7 MB Notification: Performance of Templates: time 0.007474/0.03128, allocations: 2.041 MB / 276.7 MB, free: 8.848 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.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.886811261996627]