Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.001329/0.001329, allocations: 83.91 kB / 20.68 MB, free: 1.047 MB / 14.72 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.001308/0.001308, allocations: 167.6 kB / 23.96 MB, free: 4.18 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.4/1.4, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.2056/0.2056, allocations: 32.81 MB / 293.5 MB, free: 20 kB / 270.1 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 440.2 MB, free: 8.078 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.608e-05/2.8e-05, allocations: 2.281 kB / 440.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003005/0.003033, allocations: 1.788 MB / 441.9 MB, free: 6.273 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00278/0.005812, allocations: 1.745 MB / 443.7 MB, free: 4.523 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.00594, allocations: 0 / 443.7 MB, free: 4.523 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003565/0.006297, allocations: 55.58 kB / 443.7 MB, free: 4.469 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005421/0.006839, allocations: 143.2 kB / 443.9 MB, free: 4.328 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003149/0.007154, allocations: 111.5 kB / 444 MB, free: 4.219 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003476/0.007501, allocations: 207.3 kB / 444.2 MB, free: 4.016 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.6e-05/0.007557, allocations: 5.812 kB / 444.2 MB, free: 4.012 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002125/0.00777, allocations: 111.7 kB / 444.3 MB, free: 3.902 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.007981, allocations: 71.8 kB / 444.4 MB, free: 3.832 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.39e-05/0.008015, allocations: 8 kB / 444.4 MB, free: 3.824 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002462/0.008261, allocations: 115.8 kB / 444.5 MB, free: 3.711 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.947e-05/0.008341, allocations: 35.84 kB / 444.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.101e-05/0.008412, allocations: 39.84 kB / 444.6 MB, free: 3.637 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003987/0.00881, allocations: 231.2 kB / 444.8 MB, free: 3.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.008813, allocations: 4 kB / 444.8 MB, free: 3.406 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.008814, allocations: 0 / 444.8 MB, free: 3.406 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.008819, allocations: 0 / 444.8 MB, free: 3.406 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007272/0.009546, allocations: 429 kB / 445.2 MB, free: 2.957 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.009583, allocations: 12.03 kB / 445.2 MB, free: 2.945 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.664e-05/0.009659, allocations: 20.8 kB / 445.3 MB, free: 2.926 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.009989, allocations: 197.3 kB / 445.4 MB, free: 2.707 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.01, allocations: 384 / 445.4 MB, free: 2.707 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.01002, allocations: 4.375 kB / 445.5 MB, free: 2.703 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.0103, allocations: 153 kB / 445.6 MB, free: 2.523 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.01031, allocations: 3.938 kB / 445.6 MB, free: 2.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.01032, allocations: 4 kB / 445.6 MB, free: 2.516 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.01033, allocations: 7.938 kB / 445.6 MB, free: 2.508 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.01045, allocations: 39.91 kB / 445.7 MB, free: 2.469 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002316/0.01068, allocations: 154.2 kB / 445.8 MB, free: 2.285 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/0.01098, allocations: 109.2 kB / 445.9 MB, free: 2.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.759e-05/0.01107, allocations: 41.69 kB / 446 MB, free: 2.113 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.01109, allocations: 4 kB / 446 MB, free: 2.109 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002237/0.01132, allocations: 105 kB / 446.1 MB, free: 1.988 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 3.537e-06/0.01132, allocations: 4 kB / 446.1 MB, free: 1.984 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005111/0.01183, allocations: 185.4 kB / 446.2 MB, free: 1.797 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.319e-05/0.01192, allocations: 128.5 kB / 446.4 MB, free: 1.641 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003051/0.01223, allocations: 248.1 kB / 446.6 MB, free: 1.383 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.01226, allocations: 29.69 kB / 446.6 MB, free: 1.348 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.916e-05/0.01233, allocations: 116.1 kB / 446.8 MB, free: 1.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.414e-05/0.01238, allocations: 27.8 kB / 446.8 MB, free: 1.203 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.524e-05/0.01243, allocations: 29.7 kB / 446.8 MB, free: 1.168 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.01258, allocations: 326.8 kB / 447.1 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.072e-05/0.01267, allocations: 31.97 kB / 447.2 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.01282, allocations: 128.5 kB / 447.3 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002033/0.01303, allocations: 95.84 kB / 447.4 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.01303, allocations: 0 / 447.4 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003083/0.01334, allocations: 149.4 kB / 447.5 MB, free: 404 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.01335, allocations: 4 kB / 447.5 MB, free: 400 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.01336, allocations: 11.86 kB / 447.5 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.01338, allocations: 8.094 kB / 447.6 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.01349, allocations: 23.98 kB / 447.6 MB, free: 356 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.0135, allocations: 4 kB / 447.6 MB, free: 352 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.802e-05/0.01359, allocations: 7.938 kB / 447.6 MB, free: 344 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.0136, allocations: 4 kB / 447.6 MB, free: 340 kB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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 0.0001324/0.01373, allocations: 135 kB / 447.7 MB, free: 196 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.502e-05/0.01378, allocations: 19.86 kB / 447.7 MB, free: 176 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003638/0.01414, allocations: 166.7 kB / 447.9 MB, free: 4 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.01414, allocations: 0 / 447.9 MB, free: 4 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.2019/0.216, allocations: 4.578 kB / 447.9 MB, free: 21.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.216, allocations: 3.906 kB / 447.9 MB, free: 21.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.2163, allocations: 162.3 kB / 448.1 MB, free: 21.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.2163, allocations: 1.312 kB / 448.1 MB, free: 21.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.24e-05/0.2163, allocations: 13.39 kB / 448.1 MB, free: 21.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.2163, allocations: 1.281 kB / 448.1 MB, free: 21.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.2164, allocations: 7.562 kB / 448.1 MB, free: 21.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.2164, allocations: 5.766 kB / 448.1 MB, free: 21.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2164, allocations: 0 / 448.1 MB, free: 21.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003622/0.2167, allocations: 179.7 kB / 448.3 MB, free: 21.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.617e-05/0.2168, allocations: 29.8 kB / 448.3 MB, free: 21.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.798e-05/0.2168, allocations: 2.969 kB / 448.3 MB, free: 21.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.286e-05/0.2169, allocations: 15.98 kB / 448.3 MB, free: 21.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.2169, allocations: 7.547 kB / 448.3 MB, free: 21.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.217, allocations: 6.109 kB / 448.3 MB, free: 21.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001707/0.2171, allocations: 184.7 kB / 448.5 MB, free: 21.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2171, allocations: 0 / 448.5 MB, free: 21.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003025/0.2174, allocations: 56.8 kB / 448.6 MB, free: 21.3 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001815/0.2192, allocations: 0.5375 MB / 449.1 MB, free: 21.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003056/0.2195, allocations: 87.06 kB / 449.2 MB, free: 21.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2195, allocations: 4.969 kB / 449.2 MB, free: 21.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.2197, allocations: 43.98 kB / 449.2 MB, free: 21.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.22, allocations: 56.11 kB / 449.3 MB, free: 21.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005666/0.2206, allocations: 296 kB / 449.6 MB, free: 20.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.48e-05/0.2207, allocations: 109.9 kB / 449.7 MB, free: 20.9 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.726e-05/0.2208, allocations: 34.98 kB / 449.7 MB, free: 20.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.735e-05/0.2209, allocations: 28.16 kB / 449.8 MB, free: 20.88 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2209, allocations: 0 / 449.8 MB, free: 20.88 MB / 366.1 MB Notification: Performance of Templates: time 0.007936/0.2288, allocations: 3.407 MB / 453.2 MB, free: 20.48 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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: 4.613304249942303]