Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.0007287/0.0007287, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009975/0.001726, 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.0006966/0.0006966, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008483/0.001545, 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 0.9407/0.9407, allocations: 158.6 MB / 171 MB, free: 2.176 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1817/1.122, allocations: 49.51 MB / 220.5 MB, free: 5.273 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.1436/0.1436, allocations: 32.35 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02212/0.1657, allocations: 12.29 MB / 265.9 MB, free: 7.836 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 267.3 MB, free: 6.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.123e-05, allocations: 6.25 kB / 267.3 MB, free: 6.453 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002252/0.002273, allocations: 1.77 MB / 269.1 MB, free: 4.664 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009051/0.003178, allocations: 0.8075 MB / 269.9 MB, free: 3.848 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.975e-05/0.003238, allocations: 11.94 kB / 269.9 MB, free: 3.836 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.003451, allocations: 99.67 kB / 270 MB, free: 3.738 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001382/0.003589, allocations: 87.64 kB / 270.1 MB, free: 3.652 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001597/0.003749, allocations: 79.7 kB / 270.1 MB, free: 3.574 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.003894, allocations: 115.6 kB / 270.3 MB, free: 3.461 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.166e-05/0.003976, allocations: 20.11 kB / 270.3 MB, free: 3.441 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.004091, allocations: 87.86 kB / 270.4 MB, free: 3.355 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.357e-05/0.004175, allocations: 47.88 kB / 270.4 MB, free: 3.309 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.00419, allocations: 4 kB / 270.4 MB, free: 3.305 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.542e-05/0.004266, allocations: 47.86 kB / 270.5 MB, free: 3.258 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.218e-05/0.004308, allocations: 27.86 kB / 270.5 MB, free: 3.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.235e-05/0.00434, allocations: 15.94 kB / 270.5 MB, free: 3.215 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.004494, allocations: 103.6 kB / 270.6 MB, free: 3.113 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.493e-05/0.004509, allocations: 0 / 270.6 MB, free: 3.113 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.00451, allocations: 0 / 270.6 MB, free: 3.113 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.509e-05/0.004525, allocations: 0 / 270.6 MB, free: 3.113 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.0004218/0.004947, allocations: 355.7 kB / 271 MB, free: 2.742 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.585e-05/0.004972, allocations: 8.031 kB / 271 MB, free: 2.734 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.887e-05/0.005001, allocations: 12.92 kB / 271 MB, free: 2.723 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.005141, allocations: 154.3 kB / 271.1 MB, free: 2.547 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.005155, allocations: 4.375 kB / 271.1 MB, free: 2.543 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.005171, allocations: 4.375 kB / 271.1 MB, free: 2.539 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.596e-05/0.005267, allocations: 65.77 kB / 271.2 MB, free: 2.465 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.005276, allocations: 7.922 kB / 271.2 MB, free: 2.457 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.692e-06/0.005283, allocations: 4 kB / 271.2 MB, free: 2.453 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.005287, allocations: 0 / 271.2 MB, free: 2.453 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.507e-05/0.005312, allocations: 12 kB / 271.2 MB, free: 2.441 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001796/0.005492, allocations: 165.9 kB / 271.4 MB, free: 2.262 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.328e-05/0.005575, allocations: 85.34 kB / 271.5 MB, free: 2.168 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.645e-05/0.005592, allocations: 12.86 kB / 271.5 MB, free: 2.152 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.005602, allocations: 0 / 271.5 MB, free: 2.152 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.245e-05/0.005694, allocations: 74.14 kB / 271.5 MB, free: 2.066 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 8.11e-07/0.005695, allocations: 0 / 271.5 MB, free: 2.066 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002612/0.005956, allocations: 117.4 kB / 271.7 MB, free: 1.945 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.005992, allocations: 59.39 kB / 271.7 MB, free: 1.875 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.006103, allocations: 192.1 kB / 271.9 MB, free: 1.672 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.006121, allocations: 33.69 kB / 271.9 MB, free: 1.633 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/0.00616, allocations: 96.06 kB / 272 MB, free: 1.535 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.006187, allocations: 23.83 kB / 272.1 MB, free: 1.512 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.006219, allocations: 17.72 kB / 272.1 MB, free: 1.488 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.108e-05/0.00631, allocations: 330.8 kB / 272.4 MB, free: 1.156 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.496e-05/0.006325, allocations: 10.83 kB / 272.4 MB, free: 1.145 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.476e-05/0.00635, allocations: 21.7 kB / 272.4 MB, free: 1.117 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.301e-05/0.006393, allocations: 52.58 kB / 272.5 MB, free: 1.059 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.006394, allocations: 0 / 272.5 MB, free: 1.059 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.531e-05/0.006469, allocations: 76.36 kB / 272.6 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.006482, allocations: 8 kB / 272.6 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.289e-06/0.006486, allocations: 0 / 272.6 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.006495, allocations: 3.984 kB / 272.6 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.332e-05/0.006559, allocations: 23.92 kB / 272.6 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.006562, allocations: 0 / 272.6 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.41e-05/0.006586, allocations: 0 / 272.6 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.006593, allocations: 8 kB / 272.6 MB, free: 0.9336 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 5.685e-05/0.00665, allocations: 116.7 kB / 272.7 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.006662, allocations: 15.92 kB / 272.7 MB, free: 0.793 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.46e-05/0.006747, allocations: 83 kB / 272.8 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.006749, allocations: 0 / 272.8 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.006751, allocations: 0 / 272.8 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.006755, allocations: 0 / 272.8 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.006938, allocations: 299.4 kB / 273.1 MB, free: 400 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.006939, allocations: 0 / 273.1 MB, free: 400 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.672e-05/0.006966, allocations: 15.98 kB / 273.1 MB, free: 384 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.067e-05/0.006977, allocations: 7.953 kB / 273.1 MB, free: 376 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.006979, allocations: 4.031 kB / 273.1 MB, free: 372 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.006985, allocations: 4 kB / 273.1 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.006987, allocations: 0 / 273.1 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.006988, allocations: 0 / 273.1 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.705e-05/0.007085, allocations: 219 kB / 273.3 MB, free: 128 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.007098, allocations: 4.375 kB / 273.4 MB, free: 124 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.532e-05/0.007134, allocations: 3.938 kB / 273.4 MB, free: 120 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.537e-05/0.007159, allocations: 11.98 kB / 273.4 MB, free: 108 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.00717, allocations: 8 kB / 273.4 MB, free: 100 kB / 266.7 MB Notification: Performance of sorting global known variables: time 4.751e-05/0.007217, allocations: 72.53 kB / 273.4 MB, free: 24 kB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007217, allocations: 4 kB / 273.5 MB, free: 20 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001452/0.007363, allocations: 24.03 kB / 273.5 MB, free: 15.99 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.00122/0.008582, allocations: 0.6438 MB / 274.1 MB, free: 15.34 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.063e-05/0.008663, allocations: 36.84 kB / 274.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.00867, allocations: 7.938 kB / 274.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.523e-05/0.008695, allocations: 20.84 kB / 274.2 MB, free: 15.27 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.008864, allocations: 47.72 kB / 274.2 MB, free: 15.22 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004002/0.009264, allocations: 241.9 kB / 274.5 MB, free: 14.96 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.232e-05/0.009307, allocations: 79.27 kB / 274.5 MB, free: 14.86 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.286e-05/0.009339, allocations: 16.92 kB / 274.6 MB, free: 14.84 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.697e-05/0.009396, allocations: 67.36 kB / 274.6 MB, free: 14.78 MB / 282.7 MB Notification: Performance of SimCode: time 4.11e-07/0.009397, allocations: 0 / 274.6 MB, free: 14.78 MB / 282.7 MB Notification: Performance of Templates: time 0.005516/0.01491, allocations: 2.016 MB / 276.6 MB, free: 12.76 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.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: 2.8229834493249655]