Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.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.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001023/0.001023, allocations: 202.3 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 226.6 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007196/0.0007196, allocations: 100.9 kB / 295.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1739/0.1739, allocations: 44.85 MB / 392 MB, free: 9.344 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002448/0.0002446, allocations: 4 kB / 464.7 MB, free: 49.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09066/0.09092, allocations: 62.96 MB / 0.5153 GB, free: 2.773 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.001766/0.09273, allocations: 1.354 MB / 0.5167 GB, free: 1.402 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007702/0.09352, allocations: 0.5227 MB / 0.5172 GB, free: 0.875 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.355e-05/0.09357, allocations: 3.938 kB / 0.5172 GB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001992/0.09378, allocations: 59.84 kB / 0.5172 GB, free: 0.8125 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001876/0.09398, allocations: 75.73 kB / 0.5173 GB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.09433, allocations: 158.4 kB / 0.5174 GB, free: 0.5859 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.09446, allocations: 71.81 kB / 0.5175 GB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.542e-05/0.09454, allocations: 20.2 kB / 0.5175 GB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.574e-05/0.0946, allocations: 35.84 kB / 0.5176 GB, free: 468 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.472e-05/0.09468, allocations: 35.84 kB / 0.5176 GB, free: 432 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.0947, allocations: 4 kB / 0.5176 GB, free: 428 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.022e-05/0.0948, allocations: 47.97 kB / 0.5177 GB, free: 380 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.402e-05/0.09485, allocations: 19.92 kB / 0.5177 GB, free: 360 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.889e-05/0.09488, allocations: 37.64 kB / 0.5177 GB, free: 316 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.095, allocations: 83.8 kB / 0.5178 GB, free: 232 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.09502, allocations: 4 kB / 0.5178 GB, free: 228 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.09502, allocations: 0 / 0.5178 GB, free: 228 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.09503, allocations: 0 / 0.5178 GB, free: 228 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.1696/0.2646, allocations: 411 kB / 0.5182 GB, free: 11.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.2647, allocations: 9.5 kB / 0.5182 GB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.982e-05/0.2647, allocations: 13.58 kB / 0.5182 GB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.2649, allocations: 197.8 kB / 0.5184 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.2649, allocations: 3.094 kB / 0.5184 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.2649, allocations: 4.641 kB / 0.5184 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.2651, allocations: 73.38 kB / 0.5185 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.2652, allocations: 4.906 kB / 0.5185 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.2652, allocations: 1.219 kB / 0.5185 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.2652, allocations: 4.484 kB / 0.5185 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.2654, allocations: 49.45 kB / 0.5185 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004215/0.2658, allocations: 323.3 kB / 0.5188 GB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/0.266, allocations: 67.5 kB / 0.5189 GB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.083e-05/0.2661, allocations: 31.84 kB / 0.5189 GB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.2662, allocations: 0.6562 kB / 0.5189 GB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.429e-05/0.2662, allocations: 36.8 kB / 0.519 GB, free: 11.21 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.2662, allocations: 3.922 kB / 0.519 GB, free: 11.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001619/0.2678, allocations: 0.4889 MB / 0.5194 GB, free: 11.14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.024e-05/0.2679, allocations: 54.09 kB / 0.5195 GB, free: 11.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.268, allocations: 193.1 kB / 0.5197 GB, free: 10.97 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.2681, allocations: 28.77 kB / 0.5197 GB, free: 10.94 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.646e-05/0.2681, allocations: 107.9 kB / 0.5198 GB, free: 10.85 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.2681, allocations: 36.48 kB / 0.5198 GB, free: 10.83 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.2682, allocations: 1.781 kB / 0.5198 GB, free: 10.83 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.875e-05/0.2682, allocations: 327.7 kB / 0.5202 GB, free: 10.51 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.2684, allocations: 60.03 kB / 0.5202 GB, free: 10.51 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.2685, allocations: 68.3 kB / 0.5203 GB, free: 10.51 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.2687, allocations: 68.14 kB / 0.5203 GB, free: 10.51 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.2687, allocations: 0 / 0.5203 GB, free: 10.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003507/0.269, allocations: 178.2 kB / 0.5205 GB, free: 10.47 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.2691, allocations: 6.312 kB / 0.5205 GB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.2691, allocations: 3.938 kB / 0.5205 GB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.2691, allocations: 5.391 kB / 0.5205 GB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.2692, allocations: 36.14 kB / 0.5206 GB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.2692, allocations: 0.5625 kB / 0.5206 GB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.63e-05/0.2693, allocations: 14.95 kB / 0.5206 GB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.2693, allocations: 5.781 kB / 0.5206 GB, free: 10.46 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 7.489e-05/0.2694, allocations: 128.4 kB / 0.5207 GB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.28e-05/0.2694, allocations: 13.44 kB / 0.5207 GB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004162/0.2698, allocations: 206.9 kB / 0.5209 GB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2699, allocations: 5.25 kB / 0.5209 GB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2699, allocations: 3.953 kB / 0.5209 GB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2699, allocations: 6.109 kB / 0.5209 GB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006335/0.2705, allocations: 0.5083 MB / 0.5214 GB, free: 9.953 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2705, allocations: 1.344 kB / 0.5214 GB, free: 9.953 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.2706, allocations: 33.95 kB / 0.5215 GB, free: 9.949 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.2706, allocations: 1.859 kB / 0.5215 GB, free: 9.949 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.2707, allocations: 3.531 kB / 0.5215 GB, free: 9.949 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.2707, allocations: 1.672 kB / 0.5215 GB, free: 9.949 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2707, allocations: 9.609 kB / 0.5215 GB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.271, allocations: 282.2 kB / 0.5218 GB, free: 9.785 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.647e-05/0.2711, allocations: 93.17 kB / 0.5218 GB, free: 9.684 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.2711, allocations: 7.859 kB / 0.5218 GB, free: 9.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.466e-05/0.2712, allocations: 18.92 kB / 0.5219 GB, free: 9.676 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.2712, allocations: 14.84 kB / 0.5219 GB, free: 9.672 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.2712, allocations: 7.188 kB / 0.5219 GB, free: 9.668 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.404e-05/0.2713, allocations: 149.2 kB / 0.522 GB, free: 9.578 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2714, allocations: 0 / 0.522 GB, free: 9.578 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000235/0.2716, allocations: 27.62 kB / 0.5221 GB, free: 9.574 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.0007988/0.2724, allocations: 460.6 kB / 0.5225 GB, free: 9.352 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003375/0.2727, allocations: 143.3 kB / 0.5226 GB, free: 9.316 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.2728, allocations: 7.875 kB / 0.5226 GB, free: 9.309 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.2729, allocations: 73.55 kB / 0.5227 GB, free: 9.293 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.2732, allocations: 21.5 kB / 0.5227 GB, free: 9.285 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004335/0.2737, allocations: 343.6 kB / 0.5231 GB, free: 9.039 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.2738, allocations: 0.7199 MB / 0.5238 GB, free: 8.336 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.981e-05/0.2738, allocations: 16.22 kB / 0.5238 GB, free: 8.328 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2738, allocations: 0 / 0.5238 GB, free: 8.328 MB / 346.7 MB Notification: Performance of Templates: time 0.003593/0.2774, allocations: 2.057 MB / 0.5258 GB, free: 8.105 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches