Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001254/0.001254, allocations: 197.5 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.244/1.244, allocations: 226.5 MB / 244.1 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000808/0.000808, allocations: 107.7 kB / 296.1 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2982/0.2982, allocations: 44.82 MB / 392.9 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002635/0.0002636, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3246, allocations: 62.95 MB / 0.5165 GB, free: 37.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1147/0.4394, allocations: 90.9 MB / 0.6053 GB, free: 14.48 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.4397, allocations: 71.97 kB / 0.6053 GB, free: 14.41 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02409/0.4638, allocations: 9.146 MB / 0.6143 GB, free: 5.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4639, allocations: 0 / 0.6143 GB, free: 5.25 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.041e-05/0.4639, allocations: 7.984 kB / 0.6143 GB, free: 5.242 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007478/0.4646, allocations: 0.545 MB / 0.6148 GB, free: 4.645 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.4647, allocations: 12.03 kB / 0.6148 GB, free: 4.633 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.619e-05/0.4648, allocations: 32.55 kB / 0.6148 GB, free: 4.602 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004575/0.4652, allocations: 307.4 kB / 0.6151 GB, free: 4.262 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.4653, allocations: 4.375 kB / 0.6151 GB, free: 4.258 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.4653, allocations: 8.375 kB / 0.6151 GB, free: 4.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.4656, allocations: 113.7 kB / 0.6153 GB, free: 4.129 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.4656, allocations: 192 / 0.6153 GB, free: 4.129 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.4656, allocations: 11.92 kB / 0.6153 GB, free: 4.117 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.4656, allocations: 4 kB / 0.6153 GB, free: 4.113 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.4658, allocations: 51.91 kB / 0.6153 GB, free: 4.062 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006375/0.4664, allocations: 488.6 kB / 0.6158 GB, free: 3.531 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003674/0.4668, allocations: 130.4 kB / 0.6159 GB, free: 3.387 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.4669, allocations: 49.81 kB / 0.616 GB, free: 3.332 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.4669, allocations: 4 kB / 0.616 GB, free: 3.328 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002361/0.4672, allocations: 129.1 kB / 0.6161 GB, free: 3.184 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.4672, allocations: 0 / 0.6161 GB, free: 3.184 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.001274/0.4685, allocations: 0.4922 MB / 0.6166 GB, free: 2.684 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.4685, allocations: 85.03 kB / 0.6166 GB, free: 2.582 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004046/0.469, allocations: 371.2 kB / 0.617 GB, free: 2.215 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.469, allocations: 33.7 kB / 0.617 GB, free: 2.176 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.778e-05/0.4691, allocations: 152.5 kB / 0.6172 GB, free: 2.023 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.491e-05/0.4692, allocations: 71.02 kB / 0.6172 GB, free: 1.953 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.428e-06/0.4692, allocations: 0 / 0.6172 GB, free: 1.953 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.4693, allocations: 346.8 kB / 0.6176 GB, free: 1.605 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.4695, allocations: 59.97 kB / 0.6176 GB, free: 1.547 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.4696, allocations: 87.41 kB / 0.6177 GB, free: 1.449 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.4699, allocations: 162.2 kB / 0.6179 GB, free: 1.281 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.4699, allocations: 0 / 0.6179 GB, free: 1.281 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004033/0.4703, allocations: 236.2 kB / 0.6181 GB, free: 1.047 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.4703, allocations: 6.969 kB / 0.6181 GB, free: 1.043 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.4704, allocations: 0 / 0.6181 GB, free: 1.043 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.4704, allocations: 7.938 kB / 0.6181 GB, free: 1.035 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.4705, allocations: 55.91 kB / 0.6182 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.4706, allocations: 4 kB / 0.6182 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.289e-05/0.4706, allocations: 4 kB / 0.6182 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.4707, allocations: 12 kB / 0.6182 GB, free: 0.9609 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001657/0.4708, allocations: 158.3 kB / 0.6183 GB, free: 0.7969 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.311e-05/0.4709, allocations: 27.72 kB / 0.6184 GB, free: 0.7695 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005267/0.4714, allocations: 276.1 kB / 0.6186 GB, free: 0.4922 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.4715, allocations: 11.92 kB / 0.6186 GB, free: 492 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.4715, allocations: 0 / 0.6186 GB, free: 492 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.4715, allocations: 0 / 0.6186 GB, free: 492 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.4725, allocations: 0.7741 MB / 0.6194 GB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.4725, allocations: 3.984 kB / 0.6194 GB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.243e-05/0.4726, allocations: 28 kB / 0.6194 GB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4726, allocations: 3.938 kB / 0.6194 GB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.4727, allocations: 12.17 kB / 0.6194 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.4727, allocations: 4 kB / 0.6194 GB, free: 15.58 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.4727, allocations: 3.938 kB / 0.6194 GB, free: 15.58 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004793/0.4732, allocations: 438.5 kB / 0.6199 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.4733, allocations: 120.8 kB / 0.62 GB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.44e-05/0.4733, allocations: 11.98 kB / 0.62 GB, free: 14.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.4735, allocations: 8 kB / 0.62 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.126e-05/0.4736, allocations: 27.91 kB / 0.62 GB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.4736, allocations: 8 kB / 0.62 GB, free: 14.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000286/0.4739, allocations: 273.9 kB / 0.6203 GB, free: 14.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4739, allocations: 0 / 0.6203 GB, free: 14.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003857/0.4743, allocations: 71.83 kB / 0.6204 GB, free: 14.59 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001145/0.4754, allocations: 0.5253 MB / 0.6209 GB, free: 14.25 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003763/0.4758, allocations: 156 kB / 0.621 GB, free: 14.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.4758, allocations: 0 / 0.621 GB, free: 14.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.476, allocations: 95.77 kB / 0.6211 GB, free: 14.01 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005796/0.4766, allocations: 63 kB / 0.6212 GB, free: 13.95 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008833/0.4775, allocations: 0.5916 MB / 0.6217 GB, free: 13.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.4779, allocations: 0.7761 MB / 0.6225 GB, free: 12.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.428e-05/0.478, allocations: 31.44 kB / 0.6225 GB, free: 12.47 MB / 442.7 MB Notification: Performance of SimCode: time 2.3e-07/0.478, allocations: 0 / 0.6225 GB, free: 12.47 MB / 442.7 MB Notification: Performance of Templates: time 0.005649/0.4836, allocations: 3.709 MB / 0.6262 GB, free: 8.777 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches