Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.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.CombiTable2D.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17") translateModel(ModelicaTest.Tables.CombiTable2D.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001478/0.001477, allocations: 180.2 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.023/2.023, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001082/0.001082, allocations: 74.73 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2752/0.2752, allocations: 43.48 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.19e-05/3.2e-05, allocations: 4 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1108, allocations: 58.86 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4674/0.5783, allocations: 86.34 MB / 0.5571 GB, free: 1.27 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.5786, allocations: 71.75 kB / 0.5572 GB, free: 1.238 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01005/0.5887, allocations: 2.986 MB / 0.5601 GB, free: 14.9 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.5887, allocations: 0 / 0.5601 GB, free: 14.9 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.5887, allocations: 0 / 0.5601 GB, free: 14.9 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003434/0.5891, allocations: 349.9 kB / 0.5604 GB, free: 14.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.5891, allocations: 8.031 kB / 0.5604 GB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.77e-05/0.5892, allocations: 16.2 kB / 0.5605 GB, free: 14.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.5894, allocations: 178.5 kB / 0.5606 GB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.5894, allocations: 7.875 kB / 0.5606 GB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.5894, allocations: 4 kB / 0.5606 GB, free: 14.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002772/0.5897, allocations: 186 kB / 0.5608 GB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.5897, allocations: 4 kB / 0.5608 GB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.5898, allocations: 3.875 kB / 0.5608 GB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-05/0.5898, allocations: 15.92 kB / 0.5608 GB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.5899, allocations: 63.38 kB / 0.5609 GB, free: 13.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.591, allocations: 1.695 MB / 0.5625 GB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.706e-05/0.5911, allocations: 173.2 kB / 0.5627 GB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.915e-05/0.5912, allocations: 87.86 kB / 0.5628 GB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.5912, allocations: 75.28 kB / 0.5629 GB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/0.5913, allocations: 109.8 kB / 0.563 GB, free: 11.78 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 2.856e-06/0.5913, allocations: 0 / 0.563 GB, free: 11.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 9.207e-05/0.5914, allocations: 36.69 kB / 0.563 GB, free: 11.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/0.5915, allocations: 138.6 kB / 0.5631 GB, free: 11.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.5917, allocations: 172.7 kB / 0.5633 GB, free: 11.44 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.5917, allocations: 25.7 kB / 0.5633 GB, free: 11.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.5919, allocations: 221.2 kB / 0.5635 GB, free: 11.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.769e-06/0.5919, allocations: 0 / 0.5635 GB, free: 11.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.746e-06/0.5919, allocations: 7.688 kB / 0.5635 GB, free: 11.19 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.592, allocations: 318.7 kB / 0.5639 GB, free: 10.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.566e-05/0.5921, allocations: 31.23 kB / 0.5639 GB, free: 10.85 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.5923, allocations: 144.9 kB / 0.564 GB, free: 10.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.5925, allocations: 75.08 kB / 0.5641 GB, free: 10.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/0.5925, allocations: 0 / 0.5641 GB, free: 10.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004215/0.5929, allocations: 196.1 kB / 0.5643 GB, free: 10.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.5929, allocations: 8 kB / 0.5643 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.593, allocations: 4 kB / 0.5643 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/0.593, allocations: 8 kB / 0.5643 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.5932, allocations: 35.92 kB / 0.5643 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.911e-05/0.5933, allocations: 11.92 kB / 0.5643 GB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.5934, allocations: 22.59 kB / 0.5644 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.5934, allocations: 16 kB / 0.5644 GB, free: 10.33 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001074/0.5936, allocations: 199.4 kB / 0.5646 GB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.828e-05/0.5936, allocations: 116.8 kB / 0.5647 GB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.983e-05/0.5937, allocations: 112.6 kB / 0.5648 GB, free: 9.887 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.35e-05/0.5938, allocations: 183.8 kB / 0.565 GB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.557e-05/0.5939, allocations: 180.3 kB / 0.5651 GB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.471e-05/0.594, allocations: 180.2 kB / 0.5653 GB, free: 9.336 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002703/0.5942, allocations: 424.4 kB / 0.5657 GB, free: 8.871 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.842e-05/0.5943, allocations: 101 kB / 0.5658 GB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.891e-05/0.5943, allocations: 104.9 kB / 0.5659 GB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.884e-05/0.5944, allocations: 183 kB / 0.5661 GB, free: 8.473 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.686e-05/0.5945, allocations: 188.1 kB / 0.5663 GB, free: 8.281 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.337e-05/0.5946, allocations: 184.3 kB / 0.5664 GB, free: 8.094 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.429e-05/0.5946, allocations: 180.2 kB / 0.5666 GB, free: 7.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.5948, allocations: 306.9 kB / 0.5669 GB, free: 7.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.739e-05/0.5949, allocations: 197.9 kB / 0.5671 GB, free: 7.371 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.126e-05/0.595, allocations: 183.6 kB / 0.5673 GB, free: 7.188 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.5951, allocations: 108.9 kB / 0.5674 GB, free: 7.074 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.684e-05/0.5952, allocations: 180.3 kB / 0.5675 GB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.342e-05/0.5952, allocations: 105 kB / 0.5676 GB, free: 6.781 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001673/0.5954, allocations: 130 kB / 0.5678 GB, free: 6.668 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5954, allocations: 0 / 0.5678 GB, free: 6.668 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003665/0.5958, allocations: 14.81 kB / 0.5678 GB, free: 6.656 MB / 378.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 (0): * Single equations (assignments): 0 * 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.0006544/0.5965, allocations: 271.9 kB / 0.568 GB, free: 6.414 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002131/0.5967, allocations: 71.98 kB / 0.5681 GB, free: 6.355 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5967, allocations: 0 / 0.5681 GB, free: 6.355 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.407e-06/0.5967, allocations: 352 / 0.5681 GB, free: 6.355 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.5971, allocations: 0.5312 MB / 0.5686 GB, free: 5.828 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003697/0.5975, allocations: 224.7 kB / 0.5688 GB, free: 5.586 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.5978, allocations: 0.7008 MB / 0.5695 GB, free: 4.863 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.225e-05/0.5979, allocations: 19.42 kB / 0.5695 GB, free: 4.844 MB / 378.7 MB Notification: Performance of SimCode: time 9.91e-07/0.5979, allocations: 4 kB / 0.5696 GB, free: 4.84 MB / 378.7 MB Notification: Performance of Templates: time 0.003858/0.6017, allocations: 1.293 MB / 0.5708 GB, free: 3.555 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test17/Test17.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches