Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 183 kB / 13.19 MB, free: 2.129 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.316/1.316, allocations: 205.2 MB / 218.9 MB, free: 9.195 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.0008364/0.0008366, allocations: 100.4 kB / 267.1 MB, free: 9.266 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.3577/0.3577, allocations: 43.46 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.314e-05/3.317e-05, allocations: 4 kB / 425.3 MB, free: 8.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1158, allocations: 58.85 MB / 484.2 MB, free: 13.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.371/0.4869, allocations: 87.16 MB / 0.5579 GB, free: 16.86 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001982/0.4872, allocations: 71.86 kB / 0.558 GB, free: 16.83 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01431/0.5015, allocations: 7.815 MB / 0.5656 GB, free: 11.46 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5015, allocations: 0 / 0.5656 GB, free: 11.46 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.8e-05/0.5016, allocations: 8 kB / 0.5656 GB, free: 11.45 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.0003832/0.5019, allocations: 0.5595 MB / 0.5662 GB, free: 10.87 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.502, allocations: 8.031 kB / 0.5662 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.015e-05/0.5021, allocations: 43.44 kB / 0.5662 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004206/0.5025, allocations: 324.2 kB / 0.5665 GB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.5025, allocations: 7.109 kB / 0.5666 GB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.5025, allocations: 9.531 kB / 0.5666 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.5026, allocations: 44.64 kB / 0.5666 GB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.5027, allocations: 3.984 kB / 0.5666 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.5027, allocations: 4.484 kB / 0.5666 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.5027, allocations: 4 kB / 0.5666 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.292e-05/0.5027, allocations: 26.94 kB / 0.5666 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005182/0.5033, allocations: 439.5 kB / 0.5671 GB, free: 9.965 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.5034, allocations: 41.58 kB / 0.5671 GB, free: 9.918 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.461e-05/0.5035, allocations: 22.83 kB / 0.5671 GB, free: 9.898 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.5035, allocations: 4.078 kB / 0.5671 GB, free: 9.895 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.534e-05/0.5035, allocations: 37.39 kB / 0.5672 GB, free: 9.852 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.5035, allocations: 0 / 0.5672 GB, free: 9.852 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004011/0.5039, allocations: 197.2 kB / 0.5673 GB, free: 9.664 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.504, allocations: 58.41 kB / 0.5674 GB, free: 9.598 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009147/0.5049, allocations: 0.7789 MB / 0.5682 GB, free: 8.988 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/0.5049, allocations: 25.7 kB / 0.5682 GB, free: 8.957 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.505, allocations: 225.3 kB / 0.5684 GB, free: 8.828 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.505, allocations: 15.56 kB / 0.5684 GB, free: 8.816 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-06/0.5051, allocations: 0 / 0.5684 GB, free: 8.816 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.967e-05/0.5051, allocations: 361.4 kB / 0.5688 GB, free: 8.473 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.55e-05/0.5052, allocations: 11.92 kB / 0.5688 GB, free: 8.465 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.959e-05/0.5052, allocations: 16 kB / 0.5688 GB, free: 8.453 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.112e-05/0.5052, allocations: 15.44 kB / 0.5688 GB, free: 8.445 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.5052, allocations: 4 kB / 0.5688 GB, free: 8.441 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001114/0.5054, allocations: 108.8 kB / 0.5689 GB, free: 8.336 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.5054, allocations: 14.86 kB / 0.5689 GB, free: 8.324 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.5054, allocations: 0 / 0.5689 GB, free: 8.324 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.5054, allocations: 0 / 0.5689 GB, free: 8.324 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.383e-05/0.5055, allocations: 12 kB / 0.5689 GB, free: 8.312 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.5055, allocations: 0 / 0.5689 GB, free: 8.312 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.65e-05/0.5056, allocations: 11.73 kB / 0.569 GB, free: 8.305 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.5056, allocations: 4 kB / 0.569 GB, free: 8.301 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 4.067e-05/0.5056, allocations: 105 kB / 0.5691 GB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.892e-05/0.5057, allocations: 43.44 kB / 0.5691 GB, free: 8.148 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001724/0.5059, allocations: 127.9 kB / 0.5692 GB, free: 8.039 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.5059, allocations: 3.984 kB / 0.5692 GB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.5059, allocations: 0 / 0.5692 GB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.5059, allocations: 3.938 kB / 0.5692 GB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006287/0.5065, allocations: 0.5693 MB / 0.5698 GB, free: 7.484 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.5066, allocations: 7.953 kB / 0.5698 GB, free: 7.477 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.706e-05/0.5066, allocations: 15.98 kB / 0.5698 GB, free: 7.461 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.5066, allocations: 0 / 0.5698 GB, free: 7.461 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.5066, allocations: 7.875 kB / 0.5698 GB, free: 7.457 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.5066, allocations: 3.938 kB / 0.5698 GB, free: 7.453 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5066, allocations: 320 / 0.5698 GB, free: 7.453 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.5068, allocations: 198.5 kB / 0.57 GB, free: 7.254 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001702/0.507, allocations: 164.4 kB / 0.5702 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.42e-05/0.507, allocations: 3.688 kB / 0.5702 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.265e-05/0.5071, allocations: 11.98 kB / 0.5702 GB, free: 7.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.5071, allocations: 0 / 0.5702 GB, free: 7.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.5071, allocations: 4 kB / 0.5702 GB, free: 7.066 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004747/0.5076, allocations: 0.636 MB / 0.5708 GB, free: 6.609 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5076, allocations: 0 / 0.5708 GB, free: 6.609 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002554/0.5079, allocations: 67.39 kB / 0.5709 GB, free: 6.547 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0007279/0.5086, allocations: 371.8 kB / 0.5712 GB, free: 6.254 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.327e-05/0.5087, allocations: 35.61 kB / 0.5713 GB, free: 6.227 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5087, allocations: 0 / 0.5713 GB, free: 6.227 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.918e-05/0.5088, allocations: 19.88 kB / 0.5713 GB, free: 6.215 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.509, allocations: 25.7 kB / 0.5713 GB, free: 6.203 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007748/0.5098, allocations: 0.7164 MB / 0.572 GB, free: 5.543 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.51, allocations: 0.838 MB / 0.5728 GB, free: 4.695 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.536e-05/0.5101, allocations: 44.22 kB / 0.5729 GB, free: 4.652 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.122e-05/0.5102, allocations: 23.44 kB / 0.5729 GB, free: 4.629 MB / 394.7 MB Notification: Performance of SimCode: time 3.81e-07/0.5102, allocations: 0 / 0.5729 GB, free: 4.629 MB / 394.7 MB Notification: Performance of Templates: time 0.00498/0.5152, allocations: 2.446 MB / 0.5753 GB, free: 2.184 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches