Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001341/0.001341, allocations: 194.5 kB / 16.78 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.466/1.466, allocations: 226.5 MB / 244.1 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000773/0.000773, allocations: 97.42 kB / 296.1 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3658/0.3658, allocations: 44.82 MB / 392.9 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002863/0.0002866, allocations: 8 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3625, allocations: 62.95 MB / 0.5165 GB, free: 37.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1236/0.4861, allocations: 90.47 MB / 0.6048 GB, free: 14.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.4864, allocations: 75.95 kB / 0.6049 GB, free: 14.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01727/0.5037, allocations: 6.648 MB / 0.6114 GB, free: 8.164 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5037, allocations: 4 kB / 0.6114 GB, free: 8.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.708e-05/0.5037, allocations: 11.94 kB / 0.6114 GB, free: 8.148 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.0006382/0.5044, allocations: 458.7 kB / 0.6118 GB, free: 7.648 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.5044, allocations: 8.031 kB / 0.6119 GB, free: 7.641 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.18e-05/0.5045, allocations: 12.84 kB / 0.6119 GB, free: 7.629 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.5048, allocations: 240.8 kB / 0.6121 GB, free: 7.352 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.5049, allocations: 384 / 0.6121 GB, free: 7.352 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.5049, allocations: 4.375 kB / 0.6121 GB, free: 7.348 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.5051, allocations: 58.17 kB / 0.6122 GB, free: 7.285 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.5051, allocations: 192 / 0.6122 GB, free: 7.285 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.5051, allocations: 7.875 kB / 0.6122 GB, free: 7.277 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.5051, allocations: 7.984 kB / 0.6122 GB, free: 7.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.648e-05/0.5052, allocations: 12 kB / 0.6122 GB, free: 7.258 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002338/0.5054, allocations: 197.7 kB / 0.6124 GB, free: 7.016 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.5056, allocations: 54.61 kB / 0.6124 GB, free: 6.953 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.828e-05/0.5057, allocations: 20.84 kB / 0.6124 GB, free: 6.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.5057, allocations: 0 / 0.6124 GB, free: 6.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001759/0.5059, allocations: 75.33 kB / 0.6125 GB, free: 6.844 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.5059, allocations: 0 / 0.6125 GB, free: 6.844 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002936/0.5062, allocations: 101.4 kB / 0.6126 GB, free: 6.738 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.5062, allocations: 59.39 kB / 0.6127 GB, free: 6.668 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002874/0.5065, allocations: 272 kB / 0.6129 GB, free: 6.391 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.5066, allocations: 25.7 kB / 0.6129 GB, free: 6.359 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.672e-05/0.5066, allocations: 116.1 kB / 0.6131 GB, free: 6.242 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/0.5067, allocations: 15.69 kB / 0.6131 GB, free: 6.227 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-06/0.5067, allocations: 0 / 0.6131 GB, free: 6.227 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.5068, allocations: 330.8 kB / 0.6134 GB, free: 5.895 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.833e-05/0.5069, allocations: 15.98 kB / 0.6134 GB, free: 5.879 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.247e-05/0.5069, allocations: 33.69 kB / 0.6134 GB, free: 5.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.741e-05/0.507, allocations: 49.7 kB / 0.6135 GB, free: 5.785 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.507, allocations: 0 / 0.6135 GB, free: 5.785 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001494/0.5072, allocations: 85.44 kB / 0.6136 GB, free: 5.695 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.5072, allocations: 7.938 kB / 0.6136 GB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.5072, allocations: 0 / 0.6136 GB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.5073, allocations: 4 kB / 0.6136 GB, free: 5.684 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.599e-05/0.5073, allocations: 16.02 kB / 0.6136 GB, free: 5.668 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.5074, allocations: 0 / 0.6136 GB, free: 5.668 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.587e-05/0.5074, allocations: 7.938 kB / 0.6136 GB, free: 5.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.5074, allocations: 0 / 0.6136 GB, free: 5.66 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.0001074/0.5075, allocations: 137.8 kB / 0.6137 GB, free: 5.516 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.5076, allocations: 19.75 kB / 0.6138 GB, free: 5.496 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/0.5078, allocations: 102.8 kB / 0.6138 GB, free: 5.395 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.5078, allocations: 4 kB / 0.6139 GB, free: 5.391 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5078, allocations: 4 kB / 0.6139 GB, free: 5.387 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-06/0.5078, allocations: 0 / 0.6139 GB, free: 5.387 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.508, allocations: 205.6 kB / 0.6141 GB, free: 5.137 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.508, allocations: 0 / 0.6141 GB, free: 5.137 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.477e-05/0.508, allocations: 4.375 kB / 0.6141 GB, free: 5.133 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-05/0.508, allocations: 7.922 kB / 0.6141 GB, free: 5.125 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.5081, allocations: 4 kB / 0.6141 GB, free: 5.121 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.5081, allocations: 4 kB / 0.6141 GB, free: 5.117 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.5081, allocations: 3.938 kB / 0.6141 GB, free: 5.113 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.5083, allocations: 120.9 kB / 0.6142 GB, free: 4.977 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.95e-05/0.5084, allocations: 104.9 kB / 0.6143 GB, free: 4.855 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.5084, allocations: 3.938 kB / 0.6143 GB, free: 4.852 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.162e-05/0.5084, allocations: 4 kB / 0.6143 GB, free: 4.848 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.5085, allocations: 7.984 kB / 0.6143 GB, free: 4.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.5085, allocations: 4 kB / 0.6143 GB, free: 4.836 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001809/0.5087, allocations: 196.6 kB / 0.6145 GB, free: 4.645 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5087, allocations: 4 kB / 0.6145 GB, free: 4.641 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002147/0.5089, allocations: 31.94 kB / 0.6145 GB, free: 4.609 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.0008788/0.5098, allocations: 416.9 kB / 0.6149 GB, free: 4.348 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001715/0.51, allocations: 51.91 kB / 0.615 GB, free: 4.297 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.51, allocations: 0 / 0.615 GB, free: 4.297 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.15e-05/0.5101, allocations: 19.98 kB / 0.615 GB, free: 4.277 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.5103, allocations: 26.03 kB / 0.615 GB, free: 4.258 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005132/0.5109, allocations: 335.7 kB / 0.6153 GB, free: 3.898 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.5112, allocations: 0.716 MB / 0.616 GB, free: 3.156 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.5112, allocations: 15.44 kB / 0.6161 GB, free: 3.141 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5112, allocations: 0 / 0.6161 GB, free: 3.141 MB / 426.7 MB Notification: Performance of Templates: time 0.003781/0.515, allocations: 1.965 MB / 0.618 GB, free: 1.176 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test62 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches