Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 223.2 MB / 241 MB, free: 11.85 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009218/0.0009217, allocations: 102.5 kB / 292.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3534/0.3534, allocations: 44.22 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004914/0.0004915, allocations: 11.98 kB / 459.9 MB, free: 1.508 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3346, allocations: 61.9 MB / 0.5096 GB, free: 38.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1149/0.4495, allocations: 89.29 MB / 0.5968 GB, free: 5.844 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.4498, allocations: 79.92 kB / 0.5968 GB, free: 5.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01569/0.4655, allocations: 5.585 MB / 0.6023 GB, free: 192 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4655, allocations: 0 / 0.6023 GB, free: 192 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.643e-05/0.4656, allocations: 11.92 kB / 0.6023 GB, free: 180 kB / 410.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.0005055/0.4661, allocations: 410.9 kB / 0.6027 GB, free: 15.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.4661, allocations: 8.031 kB / 0.6027 GB, free: 15.72 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.511e-05/0.4662, allocations: 11.84 kB / 0.6027 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.4665, allocations: 219.8 kB / 0.6029 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.4665, allocations: 7.953 kB / 0.6029 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.4665, allocations: 4 kB / 0.6029 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.4667, allocations: 57.66 kB / 0.603 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.4667, allocations: 0 / 0.603 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.4667, allocations: 0 / 0.603 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.4667, allocations: 0 / 0.603 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.153e-05/0.4668, allocations: 19.98 kB / 0.603 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003779/0.4672, allocations: 292.8 kB / 0.6033 GB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.4674, allocations: 58.67 kB / 0.6033 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.4674, allocations: 12.11 kB / 0.6034 GB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001404/0.4675, allocations: 63.33 kB / 0.6034 GB, free: 14.87 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.4675, allocations: 0 / 0.6034 GB, free: 14.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005303/0.4681, allocations: 181.2 kB / 0.6036 GB, free: 14.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.4681, allocations: 55.39 kB / 0.6036 GB, free: 14.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.4683, allocations: 171.1 kB / 0.6038 GB, free: 14.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.4683, allocations: 25.7 kB / 0.6038 GB, free: 14.42 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.059e-05/0.4684, allocations: 100.1 kB / 0.6039 GB, free: 14.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.4684, allocations: 23.66 kB / 0.604 GB, free: 14.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.4685, allocations: 0 / 0.604 GB, free: 14.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.4686, allocations: 334.9 kB / 0.6043 GB, free: 13.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.892e-05/0.4686, allocations: 23.98 kB / 0.6043 GB, free: 13.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.385e-05/0.4687, allocations: 33.7 kB / 0.6043 GB, free: 13.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.128e-05/0.4688, allocations: 36.05 kB / 0.6044 GB, free: 13.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4688, allocations: 0 / 0.6044 GB, free: 13.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001953/0.469, allocations: 101.4 kB / 0.6045 GB, free: 13.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.469, allocations: 8 kB / 0.6045 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.469, allocations: 0 / 0.6045 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.4691, allocations: 0 / 0.6045 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.769e-05/0.4691, allocations: 20.02 kB / 0.6045 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.4692, allocations: 0 / 0.6045 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.768e-05/0.4692, allocations: 8 kB / 0.6045 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-06/0.4692, allocations: 4 kB / 0.6045 GB, free: 13.71 MB / 426.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 0.0001179/0.4694, allocations: 135 kB / 0.6046 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.4694, allocations: 8.281 kB / 0.6046 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/0.4696, allocations: 118.3 kB / 0.6047 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.4697, allocations: 11.94 kB / 0.6048 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.4697, allocations: 0 / 0.6048 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.4697, allocations: 4 kB / 0.6048 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004968/0.4702, allocations: 411.2 kB / 0.6052 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4702, allocations: 0 / 0.6052 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.14e-05/0.4703, allocations: 12 kB / 0.6052 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.4703, allocations: 4 kB / 0.6052 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.4703, allocations: 0 / 0.6052 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4703, allocations: 32 / 0.6052 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4703, allocations: 4 kB / 0.6052 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.4706, allocations: 230.1 kB / 0.6054 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.34e-05/0.4706, allocations: 93.11 kB / 0.6055 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.4707, allocations: 3.938 kB / 0.6055 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.6e-05/0.4707, allocations: 7.984 kB / 0.6055 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.4708, allocations: 12 kB / 0.6055 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.4708, allocations: 7.953 kB / 0.6055 GB, free: 12.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001275/0.4709, allocations: 144 kB / 0.6056 GB, free: 12.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.471, allocations: 0 / 0.6056 GB, free: 12.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002544/0.4712, allocations: 35.92 kB / 0.6057 GB, free: 12.38 MB / 426.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.0009467/0.4722, allocations: 480.7 kB / 0.6061 GB, free: 12.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.4724, allocations: 63.89 kB / 0.6062 GB, free: 12.03 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4724, allocations: 0 / 0.6062 GB, free: 12.03 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.054e-05/0.4725, allocations: 31.98 kB / 0.6062 GB, free: 12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.4727, allocations: 30.42 kB / 0.6063 GB, free: 11.97 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004804/0.4732, allocations: 246.4 kB / 0.6065 GB, free: 11.69 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.4735, allocations: 0.716 MB / 0.6072 GB, free: 10.95 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.469e-05/0.4736, allocations: 16.55 kB / 0.6072 GB, free: 10.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.078e-05/0.4736, allocations: 15.44 kB / 0.6072 GB, free: 10.91 MB / 426.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4736, allocations: 0 / 0.6072 GB, free: 10.91 MB / 426.7 MB Notification: Performance of Templates: time 0.004015/0.4777, allocations: 1.689 MB / 0.6089 GB, free: 9.242 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches