Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001398/0.001398, allocations: 193.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.414/1.414, allocations: 226.5 MB / 244.1 MB, free: 8.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001046/0.001046, allocations: 93.27 kB / 296.1 MB, free: 6.855 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3617/0.3617, allocations: 44.83 MB / 393 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002681/0.0002681, allocations: 8.219 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.352, allocations: 62.96 MB / 0.5165 GB, free: 36.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1225/0.4745, allocations: 90.22 MB / 0.6046 GB, free: 15.12 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/0.4748, allocations: 75.95 kB / 0.6047 GB, free: 15.05 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0193/0.4941, allocations: 8.853 MB / 0.6133 GB, free: 6.176 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4941, allocations: 4 kB / 0.6133 GB, free: 6.172 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.251e-05/0.4942, allocations: 4 kB / 0.6133 GB, free: 6.168 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007615/0.4949, allocations: 0.6574 MB / 0.6139 GB, free: 5.457 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.495, allocations: 12.03 kB / 0.614 GB, free: 5.445 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.772e-05/0.4951, allocations: 40.41 kB / 0.614 GB, free: 5.406 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004577/0.4955, allocations: 360 kB / 0.6143 GB, free: 5.016 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.4956, allocations: 4.375 kB / 0.6143 GB, free: 5.012 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.4956, allocations: 8.375 kB / 0.6144 GB, free: 5.004 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.4958, allocations: 66.22 kB / 0.6144 GB, free: 4.934 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.4958, allocations: 192 / 0.6144 GB, free: 4.934 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.4958, allocations: 3.938 kB / 0.6144 GB, free: 4.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.4958, allocations: 0 / 0.6144 GB, free: 4.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.496, allocations: 55.95 kB / 0.6145 GB, free: 4.875 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006233/0.4966, allocations: 456.6 kB / 0.6149 GB, free: 4.379 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.4967, allocations: 54.53 kB / 0.615 GB, free: 4.316 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.97e-05/0.4968, allocations: 32.94 kB / 0.615 GB, free: 4.281 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.4969, allocations: 4 kB / 0.615 GB, free: 4.277 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.4969, allocations: 34.56 kB / 0.615 GB, free: 4.234 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.4969, allocations: 0 / 0.615 GB, free: 4.234 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008576/0.4978, allocations: 343.7 kB / 0.6154 GB, free: 3.891 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.4978, allocations: 51.41 kB / 0.6154 GB, free: 3.828 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.499, allocations: 0.8581 MB / 0.6162 GB, free: 2.961 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.4991, allocations: 29.7 kB / 0.6163 GB, free: 2.926 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.4992, allocations: 220 kB / 0.6165 GB, free: 2.707 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.4993, allocations: 27.7 kB / 0.6165 GB, free: 2.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-06/0.4993, allocations: 4 kB / 0.6165 GB, free: 2.676 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.4994, allocations: 358.7 kB / 0.6169 GB, free: 2.316 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.4996, allocations: 51.91 kB / 0.6169 GB, free: 2.266 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.4997, allocations: 51.95 kB / 0.617 GB, free: 2.215 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/0.4999, allocations: 100.8 kB / 0.6171 GB, free: 2.113 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.4999, allocations: 0 / 0.6171 GB, free: 2.113 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003205/0.5003, allocations: 177.3 kB / 0.6172 GB, free: 1.934 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.5003, allocations: 4 kB / 0.6172 GB, free: 1.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.5003, allocations: 0 / 0.6172 GB, free: 1.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.5003, allocations: 7.984 kB / 0.6172 GB, free: 1.922 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.5005, allocations: 23.92 kB / 0.6173 GB, free: 1.898 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.5005, allocations: 0 / 0.6173 GB, free: 1.898 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.357e-05/0.5006, allocations: 19.94 kB / 0.6173 GB, free: 1.879 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.5006, allocations: 3.984 kB / 0.6173 GB, free: 1.875 MB / 426.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.0001845/0.5008, allocations: 221.7 kB / 0.6175 GB, free: 1.648 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.126e-05/0.5009, allocations: 43.44 kB / 0.6175 GB, free: 1.605 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003824/0.5012, allocations: 201.5 kB / 0.6177 GB, free: 1.402 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.5013, allocations: 0 / 0.6177 GB, free: 1.402 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5013, allocations: 0 / 0.6177 GB, free: 1.402 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.5013, allocations: 0 / 0.6177 GB, free: 1.402 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008865/0.5022, allocations: 0.6622 MB / 0.6184 GB, free: 0.6836 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.5022, allocations: 0 / 0.6184 GB, free: 0.6836 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.459e-05/0.5023, allocations: 27.98 kB / 0.6184 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.5023, allocations: 0 / 0.6184 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.5023, allocations: 0 / 0.6184 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.5023, allocations: 0 / 0.6184 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.5023, allocations: 3.938 kB / 0.6184 GB, free: 0.6523 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003831/0.5027, allocations: 280 kB / 0.6187 GB, free: 372 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001662/0.5029, allocations: 160.5 kB / 0.6188 GB, free: 192 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.5029, allocations: 0 / 0.6188 GB, free: 192 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.503, allocations: 23.98 kB / 0.6188 GB, free: 168 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.5031, allocations: 11.92 kB / 0.6189 GB, free: 156 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.5031, allocations: 0 / 0.6189 GB, free: 156 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007116/0.5038, allocations: 0.6433 MB / 0.6195 GB, free: 15.51 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5038, allocations: 0 / 0.6195 GB, free: 15.51 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003053/0.5041, allocations: 67.92 kB / 0.6195 GB, free: 15.45 MB / 442.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.0008891/0.505, allocations: 400.4 kB / 0.6199 GB, free: 15.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002965/0.5053, allocations: 111.8 kB / 0.62 GB, free: 15.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5054, allocations: 0 / 0.62 GB, free: 15.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.5055, allocations: 55.97 kB / 0.6201 GB, free: 15.03 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.5059, allocations: 26.3 kB / 0.6201 GB, free: 15 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.5072, allocations: 0.9879 MB / 0.6211 GB, free: 13.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.5076, allocations: 0.834 MB / 0.6219 GB, free: 13.12 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.47e-05/0.5077, allocations: 23.69 kB / 0.6219 GB, free: 13.1 MB / 442.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5077, allocations: 0 / 0.6219 GB, free: 13.1 MB / 442.7 MB Notification: Performance of Templates: time 0.007347/0.5151, allocations: 4.497 MB / 0.6263 GB, free: 8.586 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches