Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001379/0.001379, allocations: 105.4 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002322/0.002322, allocations: 212 kB / 22.99 MB, free: 5.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.537/1.537, allocations: 230.2 MB / 256.2 MB, free: 8.543 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2672/0.2672, allocations: 46.9 MB / 359.4 MB, free: 4.977 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 75.81 kB / 0.4947 GB, free: 8.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4463/0.4485, allocations: 65.99 MB / 0.5592 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.004013/0.4526, allocations: 1.74 MB / 0.5609 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.4545, allocations: 1.049 MB / 0.5619 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.4546, allocations: 4 kB / 0.5619 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003568/0.455, allocations: 55.75 kB / 0.5619 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003699/0.4554, allocations: 99.53 kB / 0.562 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.4556, allocations: 79.72 kB / 0.5621 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.4558, allocations: 103.6 kB / 0.5622 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.4559, allocations: 8 kB / 0.5622 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.4561, allocations: 47.78 kB / 0.5623 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.831e-05/0.4562, allocations: 31.78 kB / 0.5623 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.4562, allocations: 8 kB / 0.5623 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.4563, allocations: 39.98 kB / 0.5623 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.45e-05/0.4564, allocations: 31.91 kB / 0.5624 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.757e-05/0.4564, allocations: 43.61 kB / 0.5624 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.4567, allocations: 146 kB / 0.5626 GB, free: 1.711 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.4567, allocations: 0 / 0.5626 GB, free: 1.711 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4567, allocations: 3.938 kB / 0.5626 GB, free: 1.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.4567, allocations: 0 / 0.5626 GB, free: 1.707 MB / 398.1 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.0006901/0.4574, allocations: 450.4 kB / 0.563 GB, free: 1.219 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.4575, allocations: 16.03 kB / 0.563 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.663e-05/0.4575, allocations: 12.84 kB / 0.563 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/0.4579, allocations: 221 kB / 0.5632 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.4579, allocations: 4.359 kB / 0.5632 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.4579, allocations: 8.375 kB / 0.5632 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.4581, allocations: 61.91 kB / 0.5633 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.4581, allocations: 0 / 0.5633 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.4582, allocations: 4 kB / 0.5633 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.4582, allocations: 4 kB / 0.5633 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.083e-05/0.4582, allocations: 19.98 kB / 0.5633 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004874/0.4587, allocations: 296.8 kB / 0.5636 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.4589, allocations: 54.61 kB / 0.5637 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.132e-05/0.459, allocations: 20.84 kB / 0.5637 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.459, allocations: 0 / 0.5637 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.4592, allocations: 71.39 kB / 0.5638 GB, free: 328 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.984e-06/0.4592, allocations: 0 / 0.5638 GB, free: 328 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006249/0.4598, allocations: 189.4 kB / 0.5639 GB, free: 132 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.4598, allocations: 51.41 kB / 0.564 GB, free: 68 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003295/0.4602, allocations: 274.8 kB / 0.5642 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.4602, allocations: 29.7 kB / 0.5643 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.6e-05/0.4603, allocations: 116.1 kB / 0.5644 GB, free: 15.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.4603, allocations: 23.78 kB / 0.5644 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.4604, allocations: 21.72 kB / 0.5644 GB, free: 15.58 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.4605, allocations: 330.8 kB / 0.5647 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.138e-05/0.4606, allocations: 24.17 kB / 0.5648 GB, free: 15.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.47e-05/0.4607, allocations: 45.64 kB / 0.5648 GB, free: 15.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.4608, allocations: 61.7 kB / 0.5649 GB, free: 15.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.4608, allocations: 0 / 0.5649 GB, free: 15.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002098/0.461, allocations: 117.5 kB / 0.565 GB, free: 14.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.461, allocations: 4 kB / 0.565 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.461, allocations: 0 / 0.565 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.461, allocations: 4 kB / 0.565 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.4611, allocations: 15.98 kB / 0.565 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.4612, allocations: 192 / 0.565 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.912e-05/0.4612, allocations: 4 kB / 0.565 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.4612, allocations: 7.969 kB / 0.565 GB, free: 14.95 MB / 414.1 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 0.0001403/0.4614, allocations: 141.7 kB / 0.5651 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.4614, allocations: 15.91 kB / 0.5652 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002638/0.4616, allocations: 119 kB / 0.5653 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.4616, allocations: 3.984 kB / 0.5653 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4617, allocations: 0 / 0.5653 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4617, allocations: 4 kB / 0.5653 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005232/0.4622, allocations: 411.2 kB / 0.5657 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.4622, allocations: 0 / 0.5657 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.191e-05/0.4622, allocations: 8 kB / 0.5657 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4622, allocations: 0 / 0.5657 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.4622, allocations: 4 kB / 0.5657 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.231e-06/0.4622, allocations: 7.875 kB / 0.5657 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4622, allocations: 0 / 0.5657 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.4625, allocations: 212.3 kB / 0.5659 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.665e-05/0.4626, allocations: 89.02 kB / 0.566 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.4626, allocations: 0 / 0.566 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.192e-05/0.4627, allocations: 7.938 kB / 0.566 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.4627, allocations: 7.984 kB / 0.566 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.4627, allocations: 4 kB / 0.566 GB, free: 13.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002418/0.463, allocations: 200.6 kB / 0.5662 GB, free: 13.63 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.463, allocations: 0 / 0.5662 GB, free: 13.63 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.4632, allocations: 27.92 kB / 0.5662 GB, free: 13.6 MB / 414.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: 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 (8): * Single equations (assignments): 6 * 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.001723/0.465, allocations: 475.9 kB / 0.5667 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002071/0.4652, allocations: 51.97 kB / 0.5667 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4652, allocations: 4.062 kB / 0.5667 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001753/0.4653, allocations: 27.92 kB / 0.5668 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.4657, allocations: 34.28 kB / 0.5668 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00061/0.4663, allocations: 311.5 kB / 0.5671 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000435/0.4668, allocations: 0.7197 MB / 0.5678 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.228e-05/0.4668, allocations: 12.88 kB / 0.5678 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.875e-05/0.4669, allocations: 19.44 kB / 0.5678 GB, free: 12.07 MB / 414.1 MB Notification: Performance of SimCode: time 1.193e-06/0.4669, allocations: 0 / 0.5678 GB, free: 12.07 MB / 414.1 MB Notification: Performance of Templates: time 0.007203/0.4741, allocations: 1.795 MB / 0.5696 GB, free: 10.3 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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: 5.44938116427511]