Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.00132/0.00132, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001456/0.001456, allocations: 208.5 kB / 23.73 MB, free: 4.387 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.544/1.544, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.2577/0.2577, allocations: 46.95 MB / 360.9 MB, free: 4.055 MB / 286.1 MB " [Timeout remaining time 179] 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 64.03 kB / 0.4967 GB, free: 7.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4305/0.4326, allocations: 66.04 MB / 0.5612 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.00496/0.4376, allocations: 1.745 MB / 0.5629 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002828/0.4404, allocations: 0.9755 MB / 0.5638 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.4405, allocations: 3.938 kB / 0.5638 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005061/0.441, allocations: 103.7 kB / 0.5639 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005255/0.4416, allocations: 127.5 kB / 0.564 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003152/0.4419, allocations: 87.67 kB / 0.5641 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003247/0.4422, allocations: 143.5 kB / 0.5643 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.4424, allocations: 13.59 kB / 0.5643 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.4425, allocations: 71.69 kB / 0.5643 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.4427, allocations: 79.72 kB / 0.5644 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.4427, allocations: 8 kB / 0.5644 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/0.4429, allocations: 59.98 kB / 0.5645 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.944e-05/0.443, allocations: 35.91 kB / 0.5645 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.705e-05/0.4431, allocations: 39.67 kB / 0.5646 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003763/0.4435, allocations: 173.6 kB / 0.5647 GB, free: 492 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4435, allocations: 0 / 0.5647 GB, free: 492 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4435, allocations: 0 / 0.5647 GB, free: 492 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.4435, allocations: 0 / 0.5647 GB, free: 492 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008639/0.4443, allocations: 389.2 kB / 0.5651 GB, free: 72 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.4444, allocations: 16.03 kB / 0.5651 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.025e-05/0.4445, allocations: 16.84 kB / 0.5651 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004686/0.4449, allocations: 163.2 kB / 0.5653 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.445, allocations: 4.375 kB / 0.5653 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.628e-05/0.445, allocations: 12.11 kB / 0.5653 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.4452, allocations: 73.66 kB / 0.5654 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.4453, allocations: 3.953 kB / 0.5654 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.4453, allocations: 4 kB / 0.5654 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.4453, allocations: 0 / 0.5654 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.4454, allocations: 39.97 kB / 0.5654 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005909/0.446, allocations: 276.3 kB / 0.5657 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003806/0.4464, allocations: 78.64 kB / 0.5657 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.736e-05/0.4465, allocations: 28.78 kB / 0.5658 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.4465, allocations: 4 kB / 0.5658 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002271/0.4468, allocations: 79.31 kB / 0.5659 GB, free: 15.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 2.014e-06/0.4468, allocations: 0 / 0.5659 GB, free: 15.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001263/0.448, allocations: 317.7 kB / 0.5662 GB, free: 14.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.608e-05/0.4481, allocations: 67.34 kB / 0.5662 GB, free: 14.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000379/0.4485, allocations: 263.7 kB / 0.5665 GB, free: 14.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.4485, allocations: 29.7 kB / 0.5665 GB, free: 14.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.4486, allocations: 116.1 kB / 0.5666 GB, free: 14.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.684e-05/0.4487, allocations: 51.62 kB / 0.5667 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.452e-05/0.4488, allocations: 29.72 kB / 0.5667 GB, free: 14.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.449, allocations: 330.8 kB / 0.567 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.4491, allocations: 35.98 kB / 0.567 GB, free: 13.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.4493, allocations: 68.44 kB / 0.5671 GB, free: 13.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.4496, allocations: 105.7 kB / 0.5672 GB, free: 13.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4496, allocations: 3.938 kB / 0.5672 GB, free: 13.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000485/0.45, allocations: 164.8 kB / 0.5674 GB, free: 13.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.4501, allocations: 8 kB / 0.5674 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.4501, allocations: 3.984 kB / 0.5674 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.4501, allocations: 0 / 0.5674 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.4502, allocations: 31.92 kB / 0.5674 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.4502, allocations: 3.938 kB / 0.5674 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.649e-05/0.4503, allocations: 4 kB / 0.5674 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.4503, allocations: 12.03 kB / 0.5674 GB, free: 13.52 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 (16): * Single equations (assignments): 16 * 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.0001806/0.4505, allocations: 133.8 kB / 0.5676 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.233e-05/0.4506, allocations: 23.84 kB / 0.5676 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004387/0.451, allocations: 191 kB / 0.5678 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.451, allocations: 4 kB / 0.5678 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.451, allocations: 3.938 kB / 0.5678 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.451, allocations: 7.984 kB / 0.5678 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007369/0.4518, allocations: 467.6 kB / 0.5682 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4518, allocations: 4.062 kB / 0.5682 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.205e-05/0.4519, allocations: 27.92 kB / 0.5682 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4519, allocations: 0 / 0.5682 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.4519, allocations: 4 kB / 0.5683 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.4519, allocations: 0 / 0.5683 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.4519, allocations: 0 / 0.5683 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003931/0.4523, allocations: 288.1 kB / 0.5685 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.649e-05/0.4523, allocations: 15.86 kB / 0.5685 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/0.4523, allocations: 4 kB / 0.5685 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.964e-05/0.4524, allocations: 11.98 kB / 0.5686 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.4525, allocations: 12.27 kB / 0.5686 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-05/0.4525, allocations: 12 kB / 0.5686 GB, free: 12.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001993/0.4527, allocations: 197.5 kB / 0.5688 GB, free: 12.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4527, allocations: 3.938 kB / 0.5688 GB, free: 12.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00032/0.453, allocations: 35.94 kB / 0.5688 GB, free: 12.02 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.002185/0.4552, allocations: 0.5516 MB / 0.5693 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002962/0.4555, allocations: 99.91 kB / 0.5694 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4555, allocations: 4.062 kB / 0.5694 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.4556, allocations: 63.84 kB / 0.5695 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.456, allocations: 41.3 kB / 0.5695 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006936/0.4567, allocations: 340.1 kB / 0.5699 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.4569, allocations: 115.2 kB / 0.57 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.182e-05/0.4569, allocations: 25.53 kB / 0.57 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.146e-05/0.457, allocations: 27.42 kB / 0.57 GB, free: 10.96 MB / 414.1 MB Notification: Performance of SimCode: time 8.61e-07/0.457, allocations: 0 / 0.57 GB, free: 10.96 MB / 414.1 MB Notification: Performance of Templates: time 0.006617/0.4636, allocations: 2.464 MB / 0.5724 GB, free: 8.527 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.341947324108332]