Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001293/0.001293, allocations: 181 kB / 17.41 MB, free: 4.289 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.324/1.324, allocations: 205.4 MB / 223.6 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007255/0.0007256, allocations: 97.34 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3046/0.3046, allocations: 43.55 MB / 363.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004189/0.0004191, allocations: 20 kB / 432.6 MB, free: 5.875 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1052, allocations: 58.85 MB / 491.4 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2824/0.3876, allocations: 87.52 MB / 0.5654 GB, free: 14.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.3878, allocations: 71.97 kB / 0.5655 GB, free: 14.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01161/0.3995, allocations: 4.612 MB / 0.57 GB, free: 10.24 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3995, allocations: 0 / 0.57 GB, free: 10.24 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.3995, allocations: 3.984 kB / 0.57 GB, free: 10.23 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004681/0.4, allocations: 396.4 kB / 0.5703 GB, free: 9.801 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.4001, allocations: 13.16 kB / 0.5704 GB, free: 9.789 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.005e-05/0.4001, allocations: 12.84 kB / 0.5704 GB, free: 9.777 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.4004, allocations: 201.2 kB / 0.5706 GB, free: 9.543 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.4004, allocations: 4.375 kB / 0.5706 GB, free: 9.539 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.4004, allocations: 384 / 0.5706 GB, free: 9.539 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.4006, allocations: 79.94 kB / 0.5706 GB, free: 9.449 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.4007, allocations: 192 / 0.5706 GB, free: 9.449 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.4007, allocations: 19.88 kB / 0.5707 GB, free: 9.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.4007, allocations: 0 / 0.5707 GB, free: 9.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.4008, allocations: 43.97 kB / 0.5707 GB, free: 9.387 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004374/0.4013, allocations: 320.6 kB / 0.571 GB, free: 9.023 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.4014, allocations: 46.56 kB / 0.5711 GB, free: 8.969 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.512e-05/0.4015, allocations: 31.84 kB / 0.5711 GB, free: 8.938 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.4015, allocations: 7.984 kB / 0.5711 GB, free: 8.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.4016, allocations: 34.88 kB / 0.5711 GB, free: 8.887 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.4016, allocations: 0 / 0.5711 GB, free: 8.887 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007874/0.4024, allocations: 257.1 kB / 0.5714 GB, free: 8.629 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/0.4024, allocations: 89.05 kB / 0.5715 GB, free: 8.523 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.4026, allocations: 133.8 kB / 0.5716 GB, free: 8.383 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.4026, allocations: 25.7 kB / 0.5716 GB, free: 8.352 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.724e-05/0.4027, allocations: 100.2 kB / 0.5717 GB, free: 8.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.4027, allocations: 23.66 kB / 0.5717 GB, free: 8.227 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/0.4027, allocations: 0 / 0.5717 GB, free: 8.227 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.4028, allocations: 326.8 kB / 0.572 GB, free: 7.898 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.403, allocations: 47.97 kB / 0.5721 GB, free: 7.852 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.4031, allocations: 57.69 kB / 0.5721 GB, free: 7.789 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/0.4034, allocations: 108.8 kB / 0.5722 GB, free: 7.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.4034, allocations: 0 / 0.5722 GB, free: 7.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002903/0.4037, allocations: 137.5 kB / 0.5724 GB, free: 7.539 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.4037, allocations: 4 kB / 0.5724 GB, free: 7.535 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.4037, allocations: 0 / 0.5724 GB, free: 7.535 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.4037, allocations: 4 kB / 0.5724 GB, free: 7.531 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.4038, allocations: 23.98 kB / 0.5724 GB, free: 7.508 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.4039, allocations: 0 / 0.5724 GB, free: 7.508 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.655e-05/0.4039, allocations: 15.98 kB / 0.5724 GB, free: 7.492 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.4039, allocations: 0 / 0.5724 GB, free: 7.492 MB / 394.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 (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.0001031/0.404, allocations: 134.3 kB / 0.5725 GB, free: 7.352 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.236e-05/0.4041, allocations: 7.906 kB / 0.5726 GB, free: 7.344 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003796/0.4045, allocations: 166.5 kB / 0.5727 GB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.4045, allocations: 0 / 0.5727 GB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.4045, allocations: 4 kB / 0.5727 GB, free: 7.172 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4045, allocations: 288 / 0.5727 GB, free: 7.172 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005701/0.4051, allocations: 430.4 kB / 0.5731 GB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.4051, allocations: 1.031 kB / 0.5731 GB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.644e-05/0.4052, allocations: 27.92 kB / 0.5732 GB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.4052, allocations: 3.984 kB / 0.5732 GB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.4052, allocations: 0 / 0.5732 GB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.4053, allocations: 3.938 kB / 0.5732 GB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4053, allocations: 4 kB / 0.5732 GB, free: 6.656 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003331/0.4056, allocations: 235.4 kB / 0.5734 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.598e-05/0.4057, allocations: 93 kB / 0.5735 GB, free: 6.301 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.4057, allocations: 0 / 0.5735 GB, free: 6.301 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.111e-05/0.4058, allocations: 15.94 kB / 0.5735 GB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/0.4058, allocations: 7.984 kB / 0.5735 GB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.4059, allocations: 7.938 kB / 0.5735 GB, free: 6.27 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.969e-05/0.406, allocations: 113.4 kB / 0.5736 GB, free: 6.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.406, allocations: 4 kB / 0.5736 GB, free: 6.156 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002564/0.4062, allocations: 31.94 kB / 0.5736 GB, free: 6.125 MB / 394.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0009128/0.4071, allocations: 450.7 kB / 0.5741 GB, free: 5.781 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003132/0.4075, allocations: 103.9 kB / 0.5742 GB, free: 5.68 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4075, allocations: 0 / 0.5742 GB, free: 5.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.4076, allocations: 63.91 kB / 0.5742 GB, free: 5.617 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.4079, allocations: 15.98 kB / 0.5743 GB, free: 5.602 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004584/0.4084, allocations: 249 kB / 0.5745 GB, free: 5.332 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.4087, allocations: 0.6926 MB / 0.5752 GB, free: 4.613 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.854e-05/0.4087, allocations: 19.42 kB / 0.5752 GB, free: 4.594 MB / 394.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4087, allocations: 0 / 0.5752 GB, free: 4.594 MB / 394.7 MB Notification: Performance of Templates: time 0.003442/0.4122, allocations: 1.839 MB / 0.577 GB, free: 2.758 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches