Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.002529/0.002529, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001003/0.001003, allocations: 164.9 kB / 25.61 MB, free: 8.902 MB / 18.57 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 0.9047/0.9047, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1764/0.1764, allocations: 34.26 MB / 296.8 MB, free: 13.93 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 379.4 MB, free: 23.33 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.33e-05/1.461e-05, allocations: 2.312 kB / 379.4 MB, free: 23.33 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.0017/0.001715, allocations: 1.704 MB / 381.1 MB, free: 21.61 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009257/0.002641, allocations: 0.978 MB / 382.1 MB, free: 20.62 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.569e-05/0.002706, allocations: 0 / 382.1 MB, free: 20.62 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002495/0.002956, allocations: 51.75 kB / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000209/0.003165, allocations: 107.5 kB / 382.2 MB, free: 20.47 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001078/0.003273, allocations: 75.69 kB / 382.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.00339, allocations: 107.6 kB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.621e-05/0.003426, allocations: 240 / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.747e-05/0.003493, allocations: 51.84 kB / 382.4 MB, free: 20.24 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.337e-05/0.003557, allocations: 31.83 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.00357, allocations: 4 kB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.273e-05/0.003623, allocations: 35.92 kB / 382.5 MB, free: 20.17 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.12e-05/0.003664, allocations: 31.86 kB / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.683e-05/0.003691, allocations: 15.92 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.003821, allocations: 99.66 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.003822, allocations: 3.938 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.7e-07/0.003823, allocations: 4 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.003826, allocations: 0 / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003172/0.004143, allocations: 467.7 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.004172, allocations: 8.031 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.126e-05/0.004203, allocations: 20.84 kB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.004318, allocations: 165.2 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.004331, allocations: 384 / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.004339, allocations: 8.359 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.253e-05/0.004411, allocations: 54.94 kB / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.004418, allocations: 3.938 kB / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-06/0.004424, allocations: 8 kB / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.004429, allocations: 3.984 kB / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.975e-05/0.004449, allocations: 4 kB / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.986e-05/0.004549, allocations: 117.3 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.415e-05/0.004623, allocations: 55.03 kB / 383.6 MB, free: 19.01 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.647e-05/0.00464, allocations: 11.69 kB / 383.6 MB, free: 18.99 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.004649, allocations: 0 / 383.6 MB, free: 18.99 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.292e-05/0.004732, allocations: 65.05 kB / 383.6 MB, free: 18.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.004733, allocations: 0 / 383.6 MB, free: 18.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001549/0.004888, allocations: 93.45 kB / 383.7 MB, free: 18.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.845e-05/0.004906, allocations: 51.41 kB / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.167e-05/0.004998, allocations: 273.5 kB / 384 MB, free: 18.47 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.672e-06/0.005005, allocations: 25.7 kB / 384.1 MB, free: 18.44 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.005039, allocations: 170.8 kB / 384.2 MB, free: 18.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.005063, allocations: 15.89 kB / 384.2 MB, free: 18.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/0.005092, allocations: 31.3 kB / 384.3 MB, free: 18.21 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.388e-05/0.005136, allocations: 0.5001 MB / 384.8 MB, free: 17.7 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.05e-05/0.005146, allocations: 7.984 kB / 384.8 MB, free: 17.69 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.688e-05/0.005163, allocations: 23.38 kB / 384.8 MB, free: 17.66 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.197e-05/0.005195, allocations: 43.3 kB / 384.8 MB, free: 17.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.005197, allocations: 0 / 384.8 MB, free: 17.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.081e-05/0.005258, allocations: 73.59 kB / 384.9 MB, free: 17.53 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/0.005266, allocations: 4 kB / 384.9 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.00527, allocations: 0 / 384.9 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.647e-06/0.005279, allocations: 7.875 kB / 384.9 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.622e-05/0.005325, allocations: 12.31 kB / 384.9 MB, free: 17.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.063e-06/0.005327, allocations: 160 / 384.9 MB, free: 17.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.716e-05/0.005354, allocations: 4 kB / 384.9 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.005359, allocations: 12.02 kB / 385 MB, free: 17.49 MB / 314.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 (7): * Single equations (assignments): 7 * 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 4.189e-05/0.005401, allocations: 163.7 kB / 385.1 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.682e-05/0.005418, allocations: 19.91 kB / 385.1 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.105e-05/0.005499, allocations: 78.77 kB / 385.2 MB, free: 17.22 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.005501, allocations: 3.938 kB / 385.2 MB, free: 17.22 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.005502, allocations: 0 / 385.2 MB, free: 17.22 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.005505, allocations: 0 / 385.2 MB, free: 17.22 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.97e-05/0.005575, allocations: 133.2 kB / 385.4 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.005575, allocations: 0 / 385.4 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.495e-05/0.00559, allocations: 4 kB / 385.4 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.005592, allocations: 4 kB / 385.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.127e-06/0.005596, allocations: 0 / 385.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.005597, allocations: 4 kB / 385.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.005597, allocations: 0 / 385.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.299e-05/0.00566, allocations: 120.2 kB / 385.5 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.232e-05/0.005673, allocations: 19.84 kB / 385.5 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.005686, allocations: 4 kB / 385.5 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.374e-05/0.00571, allocations: 3.984 kB / 385.5 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.975e-05/0.00573, allocations: 15.92 kB / 385.5 MB, free: 16.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.005738, allocations: 3.938 kB / 385.5 MB, free: 16.86 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.688e-05/0.005785, allocations: 192.5 kB / 385.7 MB, free: 16.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005785, allocations: 0 / 385.7 MB, free: 16.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001366/0.005921, allocations: 16 kB / 385.7 MB, free: 16.66 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.000753/0.006674, allocations: 379.5 kB / 386.1 MB, free: 16.42 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.756e-05/0.006742, allocations: 35.67 kB / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.72e-07/0.006743, allocations: 0 / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.336e-05/0.006766, allocations: 31.73 kB / 386.2 MB, free: 16.35 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.006924, allocations: 38.5 kB / 386.2 MB, free: 16.31 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002292/0.007153, allocations: 236.5 kB / 386.4 MB, free: 16.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.393e-05/0.007177, allocations: 79.12 kB / 386.5 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.662e-05/0.007204, allocations: 12.55 kB / 386.5 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.455e-05/0.007248, allocations: 90.19 kB / 386.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of SimCode: time 7.22e-07/0.007249, allocations: 0 / 386.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of Templates: time 0.002856/0.01011, allocations: 1.822 MB / 388.4 MB, free: 14.06 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.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.0437970901839435]