Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008966/0.0008966, allocations: 181.2 kB / 17.06 MB, free: 5.094 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.261/1.261, allocations: 223.2 MB / 241 MB, free: 11.89 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.0008245/0.0008243, allocations: 94.42 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.325/0.325, allocations: 44.21 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002972/0.0002972, allocations: 12 kB / 459.9 MB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3076, allocations: 61.9 MB / 0.5096 GB, free: 38.07 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1142/0.4219, allocations: 89.35 MB / 0.5968 GB, free: 5.781 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/0.4222, allocations: 83.92 kB / 0.5969 GB, free: 5.703 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01656/0.4387, allocations: 6.311 MB / 0.6031 GB, free: 15.39 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4388, allocations: 0 / 0.6031 GB, free: 15.39 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.4388, allocations: 0 / 0.6031 GB, free: 15.39 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005518/0.4394, allocations: 458.6 kB / 0.6035 GB, free: 14.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.4394, allocations: 8.562 kB / 0.6035 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.497e-05/0.4395, allocations: 15.81 kB / 0.6035 GB, free: 14.87 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.4398, allocations: 230.6 kB / 0.6037 GB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.4398, allocations: 11.95 kB / 0.6038 GB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.4399, allocations: 4 kB / 0.6038 GB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.44, allocations: 65.66 kB / 0.6038 GB, free: 14.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.44, allocations: 0 / 0.6038 GB, free: 14.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.4401, allocations: 4 kB / 0.6038 GB, free: 14.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.4401, allocations: 4 kB / 0.6038 GB, free: 14.51 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.4402, allocations: 39.91 kB / 0.6039 GB, free: 14.47 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004813/0.4407, allocations: 328.6 kB / 0.6042 GB, free: 14.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002722/0.441, allocations: 82.58 kB / 0.6043 GB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.441, allocations: 0 / 0.6043 GB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.4412, allocations: 79.62 kB / 0.6043 GB, free: 13.92 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/0.4412, allocations: 0 / 0.6043 GB, free: 13.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008377/0.442, allocations: 285.5 kB / 0.6046 GB, free: 13.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.4421, allocations: 55.41 kB / 0.6047 GB, free: 13.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002451/0.4423, allocations: 225.7 kB / 0.6049 GB, free: 13.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.4424, allocations: 29.69 kB / 0.6049 GB, free: 13.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.934e-05/0.4424, allocations: 112.1 kB / 0.605 GB, free: 13.19 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.139e-05/0.4425, allocations: 43.45 kB / 0.6051 GB, free: 13.15 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/0.4425, allocations: 0 / 0.6051 GB, free: 13.15 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.4427, allocations: 330.8 kB / 0.6054 GB, free: 12.82 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.957e-05/0.4427, allocations: 35.98 kB / 0.6054 GB, free: 12.78 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.412e-05/0.4428, allocations: 62.62 kB / 0.6055 GB, free: 12.71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.952e-05/0.4429, allocations: 36 kB / 0.6055 GB, free: 12.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4429, allocations: 0 / 0.6055 GB, free: 12.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002356/0.4432, allocations: 145.5 kB / 0.6056 GB, free: 12.53 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.4432, allocations: 8 kB / 0.6056 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.4432, allocations: 7.922 kB / 0.6057 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.4432, allocations: 0 / 0.6057 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.605e-05/0.4433, allocations: 24.03 kB / 0.6057 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.4433, allocations: 240 / 0.6057 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.011e-05/0.4434, allocations: 7.984 kB / 0.6057 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.4434, allocations: 7.984 kB / 0.6057 GB, free: 12.48 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 (14): * Single equations (assignments): 14 * 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.0001061/0.4435, allocations: 146.4 kB / 0.6058 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.388e-05/0.4436, allocations: 15.81 kB / 0.6058 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003115/0.4439, allocations: 175 kB / 0.606 GB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.4439, allocations: 8 kB / 0.606 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.4439, allocations: 0 / 0.606 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4439, allocations: 3.984 kB / 0.606 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005793/0.4445, allocations: 0.5038 MB / 0.6065 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.4445, allocations: 4 kB / 0.6065 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.014e-05/0.4446, allocations: 19.92 kB / 0.6065 GB, free: 11.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.4446, allocations: 8.062 kB / 0.6065 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.4446, allocations: 8 kB / 0.6066 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.4446, allocations: 0 / 0.6066 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4446, allocations: 3.953 kB / 0.6066 GB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003142/0.445, allocations: 287.7 kB / 0.6068 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.559e-05/0.445, allocations: 100.9 kB / 0.6069 GB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.111e-05/0.4451, allocations: 7.953 kB / 0.6069 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.294e-05/0.4452, allocations: 7.984 kB / 0.6069 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.4452, allocations: 11.98 kB / 0.607 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.4452, allocations: 4 kB / 0.607 GB, free: 11.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001725/0.4454, allocations: 188.8 kB / 0.6071 GB, free: 10.87 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4454, allocations: 0 / 0.6071 GB, free: 10.87 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002791/0.4457, allocations: 47.86 kB / 0.6072 GB, free: 10.82 MB / 426.7 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 (14): * Single equations (assignments): 12 * 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.001086/0.4468, allocations: 0.5169 MB / 0.6077 GB, free: 10.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002223/0.447, allocations: 99.83 kB / 0.6078 GB, free: 10.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4471, allocations: 0 / 0.6078 GB, free: 10.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.301e-05/0.4472, allocations: 47.92 kB / 0.6078 GB, free: 10.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.4474, allocations: 32.59 kB / 0.6079 GB, free: 10.33 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005263/0.448, allocations: 356 kB / 0.6082 GB, free: 9.941 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.4482, allocations: 0.7243 MB / 0.6089 GB, free: 9.191 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.667e-05/0.4483, allocations: 33.05 kB / 0.6089 GB, free: 9.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.038e-05/0.4484, allocations: 23.42 kB / 0.609 GB, free: 9.137 MB / 426.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4484, allocations: 4 kB / 0.609 GB, free: 9.133 MB / 426.7 MB Notification: Performance of Templates: time 0.004611/0.453, allocations: 2.146 MB / 0.6111 GB, free: 7.012 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches