Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,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.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00108/0.00108, allocations: 195 kB / 16.78 MB, free: 4.93 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 226.5 MB / 244.1 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008052/0.0008052, allocations: 94.78 kB / 296.1 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3809/0.3809, allocations: 44.83 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002816/0.0002818, allocations: 12 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3377, allocations: 62.96 MB / 0.5165 GB, free: 37.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.116/0.4537, allocations: 90.91 MB / 0.6053 GB, free: 14.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/0.4539, allocations: 75.97 kB / 0.6053 GB, free: 14.42 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02395/0.4779, allocations: 9.477 MB / 0.6146 GB, free: 4.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.478, allocations: 0 / 0.6146 GB, free: 4.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.853e-05/0.478, allocations: 4 kB / 0.6146 GB, free: 4.926 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.0009283/0.4789, allocations: 0.5837 MB / 0.6152 GB, free: 4.289 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.479, allocations: 12.03 kB / 0.6152 GB, free: 4.277 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.659e-05/0.4791, allocations: 32.56 kB / 0.6152 GB, free: 4.246 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000527/0.4796, allocations: 338.2 kB / 0.6155 GB, free: 3.875 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.4797, allocations: 8.375 kB / 0.6155 GB, free: 3.867 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.4797, allocations: 4.375 kB / 0.6155 GB, free: 3.863 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.4799, allocations: 113.5 kB / 0.6156 GB, free: 3.742 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.48, allocations: 4.188 kB / 0.6156 GB, free: 3.738 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.48, allocations: 7.938 kB / 0.6157 GB, free: 3.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.48, allocations: 0 / 0.6157 GB, free: 3.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.4801, allocations: 55.95 kB / 0.6157 GB, free: 3.676 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006284/0.4808, allocations: 0.5044 MB / 0.6162 GB, free: 3.117 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/0.4811, allocations: 134.4 kB / 0.6163 GB, free: 2.969 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.4813, allocations: 45.81 kB / 0.6164 GB, free: 2.918 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.4813, allocations: 0 / 0.6164 GB, free: 2.918 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002167/0.4815, allocations: 120.6 kB / 0.6165 GB, free: 2.785 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.725e-06/0.4815, allocations: 4 kB / 0.6165 GB, free: 2.781 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.001325/0.4828, allocations: 0.5116 MB / 0.617 GB, free: 2.262 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/0.4829, allocations: 89.03 kB / 0.6171 GB, free: 2.156 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005367/0.4835, allocations: 485.6 kB / 0.6175 GB, free: 1.676 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.4835, allocations: 33.7 kB / 0.6176 GB, free: 1.637 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.4836, allocations: 172.5 kB / 0.6177 GB, free: 1.465 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.059e-05/0.4837, allocations: 75.02 kB / 0.6178 GB, free: 1.391 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.215e-06/0.4837, allocations: 0 / 0.6178 GB, free: 1.391 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.4838, allocations: 350.8 kB / 0.6181 GB, free: 1.039 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.484, allocations: 55.97 kB / 0.6182 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.4841, allocations: 91.39 kB / 0.6183 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.4844, allocations: 166.4 kB / 0.6184 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4844, allocations: 0 / 0.6184 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004068/0.4848, allocations: 241.1 kB / 0.6187 GB, free: 480 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.4848, allocations: 6.344 kB / 0.6187 GB, free: 476 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.4848, allocations: 4 kB / 0.6187 GB, free: 472 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.4849, allocations: 0 / 0.6187 GB, free: 472 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.485, allocations: 67.78 kB / 0.6187 GB, free: 404 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.485, allocations: 0 / 0.6187 GB, free: 404 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.051e-05/0.4851, allocations: 15.94 kB / 0.6188 GB, free: 388 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.4852, allocations: 7.984 kB / 0.6188 GB, free: 380 kB / 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.0001589/0.4853, allocations: 174.3 kB / 0.6189 GB, free: 196 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.642e-05/0.4854, allocations: 39.53 kB / 0.619 GB, free: 156 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005229/0.4859, allocations: 282.5 kB / 0.6192 GB, free: 15.87 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.4859, allocations: 7.938 kB / 0.6192 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4859, allocations: 0 / 0.6192 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4859, allocations: 0 / 0.6192 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009889/0.4869, allocations: 0.813 MB / 0.62 GB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.4869, allocations: 4 kB / 0.62 GB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.151e-05/0.487, allocations: 31.92 kB / 0.6201 GB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.4871, allocations: 4 kB / 0.6201 GB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.4871, allocations: 11.98 kB / 0.6201 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.4871, allocations: 4 kB / 0.6201 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4871, allocations: 0 / 0.6201 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004645/0.4876, allocations: 454.4 kB / 0.6205 GB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.4877, allocations: 136.6 kB / 0.6207 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.391e-05/0.4877, allocations: 4 kB / 0.6207 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.4879, allocations: 12 kB / 0.6207 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.488, allocations: 31.84 kB / 0.6207 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.488, allocations: 8 kB / 0.6207 GB, free: 14.25 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003607/0.4883, allocations: 367.1 kB / 0.6211 GB, free: 13.89 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4883, allocations: 0 / 0.6211 GB, free: 13.89 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003722/0.4887, allocations: 75.92 kB / 0.6211 GB, free: 13.81 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.00105/0.4898, allocations: 0.5316 MB / 0.6217 GB, free: 13.46 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003397/0.4901, allocations: 163.7 kB / 0.6218 GB, free: 13.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.4901, allocations: 4 kB / 0.6218 GB, free: 13.29 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.4903, allocations: 83.84 kB / 0.6219 GB, free: 13.21 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005725/0.4909, allocations: 57.52 kB / 0.6219 GB, free: 13.16 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.4919, allocations: 0.7207 MB / 0.6227 GB, free: 12.39 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.4923, allocations: 0.7936 MB / 0.6234 GB, free: 11.57 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.742e-05/0.4924, allocations: 35.8 kB / 0.6235 GB, free: 11.54 MB / 442.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4924, allocations: 3.938 kB / 0.6235 GB, free: 11.54 MB / 442.7 MB Notification: Performance of Templates: time 0.006194/0.4986, allocations: 4.085 MB / 0.6275 GB, free: 7.461 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test78 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches