Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009788/0.0009788, allocations: 197.7 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 226.5 MB / 244.1 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008911/0.0008914, allocations: 95.25 kB / 296.1 MB, free: 6.699 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3676/0.3676, allocations: 44.83 MB / 393 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002946/0.0002946, allocations: 12 kB / 465.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3719, allocations: 62.95 MB / 0.5165 GB, free: 37.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1132/0.4852, allocations: 90.47 MB / 0.6048 GB, free: 14.94 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/0.4855, allocations: 75.95 kB / 0.6049 GB, free: 14.87 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01762/0.5031, allocations: 6.652 MB / 0.6114 GB, free: 8.203 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5032, allocations: 0 / 0.6114 GB, free: 8.203 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.5032, allocations: 8 kB / 0.6114 GB, free: 8.195 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000623/0.5038, allocations: 462.6 kB / 0.6118 GB, free: 7.691 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.5039, allocations: 8.031 kB / 0.6119 GB, free: 7.684 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.378e-05/0.5039, allocations: 16.83 kB / 0.6119 GB, free: 7.668 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.5043, allocations: 240.8 kB / 0.6121 GB, free: 7.391 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.5043, allocations: 384 / 0.6121 GB, free: 7.391 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.5043, allocations: 8.359 kB / 0.6121 GB, free: 7.383 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.5045, allocations: 50.25 kB / 0.6122 GB, free: 7.328 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.5045, allocations: 4.172 kB / 0.6122 GB, free: 7.324 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.5045, allocations: 3.938 kB / 0.6122 GB, free: 7.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.5045, allocations: 0 / 0.6122 GB, free: 7.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.936e-05/0.5046, allocations: 23.92 kB / 0.6122 GB, free: 7.297 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002197/0.5048, allocations: 193.7 kB / 0.6124 GB, free: 7.059 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.505, allocations: 50.61 kB / 0.6124 GB, free: 7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.59e-05/0.505, allocations: 28.78 kB / 0.6124 GB, free: 6.969 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.5051, allocations: 0 / 0.6124 GB, free: 6.969 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001539/0.5052, allocations: 71.33 kB / 0.6125 GB, free: 6.887 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.5052, allocations: 0 / 0.6125 GB, free: 6.887 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002758/0.5055, allocations: 105.4 kB / 0.6126 GB, free: 6.777 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.5056, allocations: 51.41 kB / 0.6127 GB, free: 6.715 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003028/0.5059, allocations: 272 kB / 0.6129 GB, free: 6.438 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.5059, allocations: 29.7 kB / 0.613 GB, free: 6.402 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.25e-05/0.506, allocations: 108.1 kB / 0.6131 GB, free: 6.293 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.416e-05/0.506, allocations: 19.75 kB / 0.6131 GB, free: 6.273 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/0.506, allocations: 0 / 0.6131 GB, free: 6.273 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.5062, allocations: 326.8 kB / 0.6134 GB, free: 5.945 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.072e-05/0.5062, allocations: 15.98 kB / 0.6134 GB, free: 5.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.893e-05/0.5063, allocations: 37.64 kB / 0.6134 GB, free: 5.887 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.684e-05/0.5064, allocations: 49.95 kB / 0.6135 GB, free: 5.832 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5064, allocations: 0 / 0.6135 GB, free: 5.832 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001621/0.5066, allocations: 89.44 kB / 0.6136 GB, free: 5.738 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.5066, allocations: 7.938 kB / 0.6136 GB, free: 5.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.5066, allocations: 0 / 0.6136 GB, free: 5.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.5066, allocations: 0 / 0.6136 GB, free: 5.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-05/0.5067, allocations: 15.98 kB / 0.6136 GB, free: 5.715 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.5067, allocations: 4.031 kB / 0.6136 GB, free: 5.711 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.646e-05/0.5068, allocations: 7.938 kB / 0.6136 GB, free: 5.703 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.5068, allocations: 0 / 0.6136 GB, free: 5.703 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 (7): * Single equations (assignments): 7 * 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.0001067/0.5069, allocations: 133.8 kB / 0.6137 GB, free: 5.562 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.5069, allocations: 19.75 kB / 0.6138 GB, free: 5.543 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002171/0.5072, allocations: 102.6 kB / 0.6138 GB, free: 5.441 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.5072, allocations: 0 / 0.6138 GB, free: 5.441 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.5072, allocations: 4 kB / 0.6139 GB, free: 5.438 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.5072, allocations: 4 kB / 0.6139 GB, free: 5.434 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.5074, allocations: 209.6 kB / 0.6141 GB, free: 5.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5074, allocations: 0 / 0.6141 GB, free: 5.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.531e-05/0.5074, allocations: 4 kB / 0.6141 GB, free: 5.176 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.5074, allocations: 3.938 kB / 0.6141 GB, free: 5.172 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.5074, allocations: 0 / 0.6141 GB, free: 5.172 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.5074, allocations: 0 / 0.6141 GB, free: 5.172 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.5074, allocations: 4 kB / 0.6141 GB, free: 5.168 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.5076, allocations: 120.9 kB / 0.6142 GB, free: 5.031 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.211e-05/0.5077, allocations: 104.9 kB / 0.6143 GB, free: 4.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.5078, allocations: 8.109 kB / 0.6143 GB, free: 4.902 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.377e-05/0.5078, allocations: 8 kB / 0.6143 GB, free: 4.895 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.5079, allocations: 7.984 kB / 0.6143 GB, free: 4.887 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-06/0.5079, allocations: 7.938 kB / 0.6143 GB, free: 4.879 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001974/0.5081, allocations: 196.6 kB / 0.6145 GB, free: 4.688 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5081, allocations: 0 / 0.6145 GB, free: 4.688 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002167/0.5083, allocations: 31.94 kB / 0.6145 GB, free: 4.656 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008901/0.5092, allocations: 409.9 kB / 0.6149 GB, free: 4.391 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001656/0.5094, allocations: 47.91 kB / 0.615 GB, free: 4.344 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5094, allocations: 0 / 0.615 GB, free: 4.344 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.428e-05/0.5095, allocations: 23.98 kB / 0.615 GB, free: 4.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.5097, allocations: 23.05 kB / 0.615 GB, free: 4.301 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005389/0.5103, allocations: 327.7 kB / 0.6153 GB, free: 3.949 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.5106, allocations: 0.7238 MB / 0.616 GB, free: 3.199 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.808e-05/0.5106, allocations: 15.44 kB / 0.616 GB, free: 3.184 MB / 426.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5106, allocations: 0 / 0.616 GB, free: 3.184 MB / 426.7 MB Notification: Performance of Templates: time 0.003531/0.5142, allocations: 1.971 MB / 0.618 GB, free: 1.219 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches