Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001085/0.001085, allocations: 197.5 kB / 16.78 MB, free: 5.031 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 226.5 MB / 244.1 MB, free: 8.188 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009302/0.00093, allocations: 105.4 kB / 296.1 MB, free: 6.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3405/0.3405, allocations: 44.82 MB / 393 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003698, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3257, allocations: 62.96 MB / 0.5165 GB, free: 36.86 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1133/0.4391, allocations: 90.94 MB / 0.6053 GB, free: 14.47 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/0.4394, allocations: 75.95 kB / 0.6054 GB, free: 14.39 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03318/0.4725, allocations: 12.75 MB / 0.6178 GB, free: 1.621 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4726, allocations: 0 / 0.6178 GB, free: 1.621 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.379e-05/0.4726, allocations: 12 kB / 0.6178 GB, free: 1.609 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.00116/0.4738, allocations: 0.7832 MB / 0.6186 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.4738, allocations: 12.03 kB / 0.6186 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.474, allocations: 56.19 kB / 0.6187 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008119/0.4748, allocations: 491.6 kB / 0.6191 GB, free: 196 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.4748, allocations: 12.36 kB / 0.6191 GB, free: 184 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.834e-05/0.4749, allocations: 16.38 kB / 0.6191 GB, free: 168 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003862/0.4752, allocations: 212.1 kB / 0.6193 GB, free: 15.94 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.4753, allocations: 8.062 kB / 0.6194 GB, free: 15.93 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.4753, allocations: 11.94 kB / 0.6194 GB, free: 15.92 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.4753, allocations: 0 / 0.6194 GB, free: 15.92 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002584/0.4756, allocations: 111.8 kB / 0.6195 GB, free: 15.81 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009651/0.4766, allocations: 0.8994 MB / 0.6204 GB, free: 14.84 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005797/0.4772, allocations: 305.2 kB / 0.6206 GB, free: 14.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/0.4774, allocations: 100.2 kB / 0.6207 GB, free: 14.39 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.4774, allocations: 4 kB / 0.6207 GB, free: 14.38 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003921/0.4778, allocations: 243.4 kB / 0.621 GB, free: 14.12 MB / 442.7 MB Notification: Performance of pre-optimization done (n=30): time 1.473e-06/0.4778, allocations: 3.938 kB / 0.621 GB, free: 14.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=40): time 0.002012/0.4798, allocations: 1.027 MB / 0.622 GB, free: 13.07 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.453e-05/0.4799, allocations: 158.2 kB / 0.6221 GB, free: 12.88 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007678/0.4807, allocations: 0.663 MB / 0.6228 GB, free: 12.21 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.262e-05/0.4808, allocations: 37.7 kB / 0.6228 GB, free: 12.17 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.4809, allocations: 233.1 kB / 0.623 GB, free: 11.94 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.694e-05/0.481, allocations: 134.3 kB / 0.6232 GB, free: 11.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.698e-05/0.4811, allocations: 4 kB / 0.6232 GB, free: 11.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.4812, allocations: 374.8 kB / 0.6235 GB, free: 11.43 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/0.4815, allocations: 100.8 kB / 0.6236 GB, free: 11.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/0.4817, allocations: 192.8 kB / 0.6238 GB, free: 11.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004918/0.4822, allocations: 304.8 kB / 0.6241 GB, free: 10.78 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4822, allocations: 0 / 0.6241 GB, free: 10.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007087/0.483, allocations: 408.6 kB / 0.6245 GB, free: 10.37 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.483, allocations: 10.97 kB / 0.6245 GB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.483, allocations: 4.094 kB / 0.6245 GB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.483, allocations: 12 kB / 0.6245 GB, free: 10.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002949/0.4833, allocations: 88.02 kB / 0.6246 GB, free: 10.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.4833, allocations: 4.391 kB / 0.6246 GB, free: 10.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.4835, allocations: 23.98 kB / 0.6246 GB, free: 10.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.4836, allocations: 16 kB / 0.6246 GB, free: 10.22 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002264/0.4838, allocations: 212.3 kB / 0.6248 GB, free: 10 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.38e-05/0.4839, allocations: 67.25 kB / 0.6249 GB, free: 9.934 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008983/0.4848, allocations: 497.3 kB / 0.6254 GB, free: 9.441 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.771e-05/0.4848, allocations: 8 kB / 0.6254 GB, free: 9.434 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4848, allocations: 0 / 0.6254 GB, free: 9.434 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.4849, allocations: 3.984 kB / 0.6254 GB, free: 9.43 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/0.4865, allocations: 1.386 MB / 0.6267 GB, free: 7.969 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.4865, allocations: 4 kB / 0.6268 GB, free: 7.965 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.4867, allocations: 55.92 kB / 0.6268 GB, free: 7.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.4867, allocations: 4 kB / 0.6268 GB, free: 7.906 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.159e-05/0.4867, allocations: 15.98 kB / 0.6268 GB, free: 7.891 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.4868, allocations: 4 kB / 0.6268 GB, free: 7.887 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.4868, allocations: 7.938 kB / 0.6268 GB, free: 7.879 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008766/0.4877, allocations: 0.8552 MB / 0.6277 GB, free: 6.984 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.4878, allocations: 164.3 kB / 0.6278 GB, free: 6.805 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.838e-05/0.4879, allocations: 15.98 kB / 0.6278 GB, free: 6.789 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003233/0.4882, allocations: 23.98 kB / 0.6279 GB, free: 6.766 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.597e-05/0.4883, allocations: 35.89 kB / 0.6279 GB, free: 6.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.187e-05/0.4884, allocations: 23.98 kB / 0.6279 GB, free: 6.707 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005396/0.4889, allocations: 486.8 kB / 0.6284 GB, free: 6.234 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4889, allocations: 0 / 0.6284 GB, free: 6.234 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005425/0.4895, allocations: 103.9 kB / 0.6285 GB, free: 6.133 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001007/0.4905, allocations: 0.4891 MB / 0.629 GB, free: 5.805 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006192/0.4911, allocations: 308.2 kB / 0.6293 GB, free: 5.504 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4911, allocations: 0 / 0.6293 GB, free: 5.504 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003086/0.4914, allocations: 168.3 kB / 0.6294 GB, free: 5.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.4926, allocations: 147.3 kB / 0.6296 GB, free: 5.199 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.494, allocations: 1.081 MB / 0.6306 GB, free: 4.055 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004127/0.4944, allocations: 0.8705 MB / 0.6315 GB, free: 3.156 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.4946, allocations: 55.42 kB / 0.6315 GB, free: 3.102 MB / 442.7 MB Notification: Performance of SimCode: time 4.1e-07/0.4946, allocations: 0 / 0.6315 GB, free: 3.102 MB / 442.7 MB Notification: Performance of Templates: time 0.009181/0.5038, allocations: 6.768 MB / 0.6381 GB, free: 12.36 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches