Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.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.0008122/0.0008122, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001391/0.002203, 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.0008817/0.0008817, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001242/0.002124, 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.9632/0.9632, allocations: 158.6 MB / 171.2 MB, free: 2.516 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1812/1.144, allocations: 49.51 MB / 220.7 MB, free: 1.355 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.1685/0.1685, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02544/0.1939, allocations: 12.3 MB / 266.1 MB, free: 3.887 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.Test44,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.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,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.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 267.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.156e-05/3.37e-05, allocations: 10.19 kB / 267.5 MB, free: 2.473 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003781/0.003815, allocations: 1.774 MB / 269.3 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.0053, allocations: 0.8036 MB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.346e-05/0.005394, allocations: 4 kB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003014/0.005695, allocations: 51.62 kB / 270.1 MB, free: 15.81 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000238/0.005933, allocations: 51.72 kB / 270.2 MB, free: 15.76 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003148/0.006248, allocations: 91.62 kB / 270.2 MB, free: 15.67 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.006453, allocations: 103.6 kB / 270.4 MB, free: 15.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.463e-05/0.006547, allocations: 12.22 kB / 270.4 MB, free: 15.55 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.006713, allocations: 59.91 kB / 270.4 MB, free: 15.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.006816, allocations: 27.91 kB / 270.4 MB, free: 15.47 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.006839, allocations: 4 kB / 270.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.006954, allocations: 43.86 kB / 270.5 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.685e-05/0.007011, allocations: 23.86 kB / 270.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.332e-05/0.007054, allocations: 19.94 kB / 270.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.007275, allocations: 91.67 kB / 270.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.406e-05/0.007289, allocations: 0 / 270.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.007292, allocations: 0 / 270.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.328e-05/0.007305, 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.0005656/0.007871, allocations: 339.8 kB / 271 MB, free: 14.93 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.007914, allocations: 11.97 kB / 271 MB, free: 14.92 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.163e-05/0.007965, allocations: 4.938 kB / 271 MB, free: 14.92 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.00818, allocations: 150.2 kB / 271.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.008201, allocations: 4.375 kB / 271.1 MB, free: 14.74 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.008227, allocations: 4.375 kB / 271.1 MB, free: 14.74 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.008376, allocations: 65.77 kB / 271.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.008389, allocations: 3.938 kB / 271.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.008399, allocations: 4 kB / 271.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.008405, allocations: 0 / 271.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.199e-05/0.008447, allocations: 15.92 kB / 271.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002813/0.008728, allocations: 165.9 kB / 271.4 MB, free: 14.46 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.008853, allocations: 85.36 kB / 271.5 MB, free: 14.37 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.964e-05/0.008883, allocations: 16.84 kB / 271.5 MB, free: 14.35 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.008895, allocations: 4 kB / 271.5 MB, free: 14.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001341/0.009029, allocations: 74.06 kB / 271.6 MB, free: 14.26 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.964e-06/0.009031, allocations: 0 / 271.6 MB, free: 14.26 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004165/0.009448, allocations: 117.5 kB / 271.7 MB, free: 14.14 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.757e-05/0.009545, allocations: 55.41 kB / 271.7 MB, free: 14.07 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.009715, allocations: 173 kB / 271.9 MB, free: 13.89 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.009738, allocations: 25.7 kB / 271.9 MB, free: 13.86 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.009775, allocations: 96.09 kB / 272 MB, free: 13.76 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.00981, allocations: 23.8 kB / 272 MB, free: 13.73 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.00985, allocations: 29.69 kB / 272.1 MB, free: 13.7 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.593e-05/0.009926, allocations: 326.8 kB / 272.4 MB, free: 13.37 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.396e-05/0.00995, allocations: 6.828 kB / 272.4 MB, free: 13.36 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.085e-05/0.009981, allocations: 29.69 kB / 272.4 MB, free: 13.33 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.534e-05/0.01003, allocations: 36.47 kB / 272.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01003, allocations: 4 kB / 272.5 MB, free: 13.28 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.134e-05/0.01012, allocations: 68.42 kB / 272.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.01014, allocations: 8 kB / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.01014, allocations: 3.938 kB / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.01016, allocations: 0 / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.719e-05/0.01024, allocations: 28.02 kB / 272.6 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-06/0.01025, allocations: 0 / 272.6 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.493e-05/0.01028, allocations: 4 kB / 272.6 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.01029, allocations: 3.938 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.833e-05/0.01036, allocations: 120.7 kB / 272.7 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.384e-05/0.01037, allocations: 8.312 kB / 272.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.01048, allocations: 87.19 kB / 272.8 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.01048, allocations: 0 / 272.8 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.01048, allocations: 0 / 272.8 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.01049, allocations: 4 kB / 272.8 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.01074, allocations: 295.4 kB / 273.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.01074, allocations: 0 / 273.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.976e-05/0.01077, allocations: 11.98 kB / 273.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.061e-05/0.01078, allocations: 7.953 kB / 273.1 MB, free: 12.6 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.01078, allocations: 4 kB / 273.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.01079, allocations: 4 kB / 273.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.01079, allocations: 0 / 273.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.01079, allocations: 3.938 kB / 273.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.0109, allocations: 219 kB / 273.3 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.01092, allocations: 8.031 kB / 273.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.294e-05/0.01096, allocations: 4 kB / 273.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.011, allocations: 7.922 kB / 273.3 MB, free: 12.33 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.01101, allocations: 4 kB / 273.3 MB, free: 12.33 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.525e-05/0.01105, allocations: 52.34 kB / 273.4 MB, free: 12.27 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01106, allocations: 0 / 273.4 MB, free: 12.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001493/0.0112, allocations: 23.94 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.001289/0.01249, allocations: 0.6361 MB / 274.1 MB, free: 11.6 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001175/0.01261, allocations: 44.77 kB / 274.1 MB, free: 11.55 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/0.01262, allocations: 0 / 274.1 MB, free: 11.55 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.258e-05/0.01266, allocations: 36.78 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.0002469/0.01291, allocations: 184.5 kB / 274.3 MB, free: 11.3 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004809/0.01339, allocations: 222.2 kB / 274.5 MB, free: 11.06 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.012e-05/0.01343, allocations: 67.34 kB / 274.6 MB, free: 10.97 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.685e-05/0.01347, 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 6.943e-05/0.01354, allocations: 67.36 kB / 274.7 MB, free: 10.89 MB / 282.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01354, allocations: 0 / 274.7 MB, free: 10.89 MB / 282.7 MB Notification: Performance of Templates: time 0.003877/0.01742, 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.Test44.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.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.9079655120149255]