Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009875/0.0009877, allocations: 175.8 kB / 16.76 MB, free: 5.047 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.759/1.759, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007943/0.0007943, allocations: 88.58 kB / 271.3 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4054/0.4054, allocations: 43.56 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004195/0.0004196, allocations: 16 kB / 432.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1518, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3998/0.5517, allocations: 87.77 MB / 0.5657 GB, free: 14.23 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.552, allocations: 71.95 kB / 0.5657 GB, free: 14.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01513/0.5672, allocations: 5.38 MB / 0.571 GB, free: 8.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.651e-06/0.5672, allocations: 4 kB / 0.571 GB, free: 8.816 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.5672, allocations: 0 / 0.571 GB, free: 8.816 MB / 394.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.0005338/0.5678, allocations: 418.8 kB / 0.5714 GB, free: 8.359 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.5678, allocations: 8.031 kB / 0.5714 GB, free: 8.352 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.854e-05/0.5679, allocations: 12.83 kB / 0.5714 GB, free: 8.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.5682, allocations: 223 kB / 0.5716 GB, free: 8.086 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.5682, allocations: 384 / 0.5716 GB, free: 8.086 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.5683, allocations: 8.375 kB / 0.5716 GB, free: 8.078 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.5684, allocations: 54.23 kB / 0.5717 GB, free: 8.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.5684, allocations: 192 / 0.5717 GB, free: 8.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.5685, allocations: 7.938 kB / 0.5717 GB, free: 8.012 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.5685, allocations: 0 / 0.5717 GB, free: 8.012 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.669e-05/0.5686, allocations: 19.98 kB / 0.5717 GB, free: 7.992 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004364/0.569, allocations: 296.8 kB / 0.572 GB, free: 7.652 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.5692, allocations: 70.53 kB / 0.5721 GB, free: 7.574 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.606e-05/0.5692, allocations: 20.86 kB / 0.5721 GB, free: 7.551 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.5693, allocations: 0 / 0.5721 GB, free: 7.551 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000153/0.5694, allocations: 75.38 kB / 0.5722 GB, free: 7.465 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.763e-06/0.5694, allocations: 0 / 0.5722 GB, free: 7.465 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005554/0.57, allocations: 174 kB / 0.5723 GB, free: 7.289 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.5701, allocations: 55.41 kB / 0.5724 GB, free: 7.223 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.5702, allocations: 182.2 kB / 0.5726 GB, free: 7.035 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.5703, allocations: 33.7 kB / 0.5726 GB, free: 6.996 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.5703, allocations: 96.14 kB / 0.5727 GB, free: 6.898 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.909e-05/0.5704, allocations: 35.56 kB / 0.5727 GB, free: 6.863 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.5704, allocations: 0 / 0.5727 GB, free: 6.863 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.5705, allocations: 326.8 kB / 0.573 GB, free: 6.535 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.03e-05/0.5706, allocations: 23.98 kB / 0.573 GB, free: 6.512 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.554e-05/0.5707, allocations: 33.7 kB / 0.5731 GB, free: 6.473 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.5708, allocations: 70.52 kB / 0.5731 GB, free: 6.398 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.5708, allocations: 0 / 0.5731 GB, free: 6.398 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001969/0.571, allocations: 97.44 kB / 0.5732 GB, free: 6.297 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.571, allocations: 8 kB / 0.5732 GB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.571, allocations: 0 / 0.5732 GB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.5711, allocations: 3.984 kB / 0.5732 GB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.709e-05/0.5711, allocations: 12 kB / 0.5733 GB, free: 6.273 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.5712, allocations: 11.97 kB / 0.5733 GB, free: 6.262 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.701e-05/0.5712, allocations: 4.188 kB / 0.5733 GB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.5712, allocations: 4 kB / 0.5733 GB, free: 6.254 MB / 394.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.492e-05/0.5713, allocations: 133.2 kB / 0.5734 GB, free: 6.117 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.5714, allocations: 11.91 kB / 0.5734 GB, free: 6.105 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002678/0.5716, allocations: 118.3 kB / 0.5735 GB, free: 5.98 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.5717, allocations: 4 kB / 0.5735 GB, free: 5.977 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5717, allocations: 0 / 0.5735 GB, free: 5.977 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.5717, allocations: 7.984 kB / 0.5735 GB, free: 5.969 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004591/0.5721, allocations: 407.2 kB / 0.5739 GB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5722, allocations: 0 / 0.5739 GB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.098e-05/0.5722, allocations: 12 kB / 0.5739 GB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.5722, allocations: 4 kB / 0.5739 GB, free: 5.496 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.5722, allocations: 3.938 kB / 0.5739 GB, free: 5.492 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.5722, allocations: 0 / 0.5739 GB, free: 5.492 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.5722, allocations: 7.922 kB / 0.574 GB, free: 5.484 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.5725, allocations: 212.2 kB / 0.5742 GB, free: 5.258 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.958e-05/0.5726, allocations: 97 kB / 0.5743 GB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.5726, allocations: 0 / 0.5743 GB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.949e-05/0.5727, allocations: 4 kB / 0.5743 GB, free: 5.141 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.5727, allocations: 12.3 kB / 0.5743 GB, free: 5.129 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.5727, allocations: 8 kB / 0.5743 GB, free: 5.121 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001155/0.5728, allocations: 144.7 kB / 0.5744 GB, free: 4.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5728, allocations: 0 / 0.5744 GB, free: 4.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002641/0.5731, allocations: 35.94 kB / 0.5744 GB, free: 4.945 MB / 394.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001014/0.5741, allocations: 482.8 kB / 0.5749 GB, free: 4.566 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001704/0.5743, allocations: 59.91 kB / 0.575 GB, free: 4.508 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.5743, allocations: 4 kB / 0.575 GB, free: 4.504 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.698e-05/0.5744, allocations: 24.14 kB / 0.575 GB, free: 4.48 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.5748, allocations: 32.12 kB / 0.575 GB, free: 4.449 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004224/0.5752, allocations: 256.9 kB / 0.5753 GB, free: 4.172 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.5754, allocations: 0.7043 MB / 0.576 GB, free: 3.441 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.705e-05/0.5755, allocations: 20.55 kB / 0.576 GB, free: 3.422 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.247e-05/0.5756, allocations: 15.44 kB / 0.576 GB, free: 3.406 MB / 394.7 MB Notification: Performance of SimCode: time 4e-07/0.5756, allocations: 0 / 0.576 GB, free: 3.406 MB / 394.7 MB Notification: Performance of Templates: time 0.003999/0.5796, allocations: 1.688 MB / 0.5776 GB, free: 1.73 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches