Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002039/0.002039, allocations: 181.6 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.048/2.048, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001074/0.001074, allocations: 82.67 kB / 267.5 MB, free: 14.11 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.2957/0.2957, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.159e-05/3.181e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1094, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4664/0.5759, allocations: 87.14 MB / 0.5579 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.5762, allocations: 69.91 kB / 0.558 GB, free: 476 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01769/0.5939, allocations: 4.222 MB / 0.5621 GB, free: 12.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5939, allocations: 0 / 0.5621 GB, free: 12.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.706e-05/0.594, allocations: 4 kB / 0.5621 GB, free: 12.84 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005093/0.5945, allocations: 381.9 kB / 0.5624 GB, free: 12.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.5945, allocations: 8.031 kB / 0.5625 GB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.789e-05/0.5946, allocations: 11.86 kB / 0.5625 GB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.5949, allocations: 206.8 kB / 0.5627 GB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.435e-06/0.5949, allocations: 0 / 0.5627 GB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.595, allocations: 4 kB / 0.5627 GB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.5951, allocations: 52.88 kB / 0.5627 GB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.5952, allocations: 4 kB / 0.5627 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.5952, allocations: 3.688 kB / 0.5627 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.5952, allocations: 0 / 0.5627 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.267e-05/0.5953, allocations: 23.61 kB / 0.5627 GB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006304/0.5959, allocations: 325.1 kB / 0.5631 GB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.5961, allocations: 41.56 kB / 0.5631 GB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.974e-05/0.5961, allocations: 20.42 kB / 0.5631 GB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.5962, allocations: 0 / 0.5631 GB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.5962, allocations: 34.56 kB / 0.5631 GB, free: 11.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.552e-06/0.5962, allocations: 0 / 0.5631 GB, free: 11.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006887/0.5969, allocations: 166.4 kB / 0.5633 GB, free: 11.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.597, allocations: 55.41 kB / 0.5634 GB, free: 11.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/0.5972, allocations: 157.8 kB / 0.5635 GB, free: 11.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.5973, allocations: 29.7 kB / 0.5635 GB, free: 11.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.36e-05/0.5974, allocations: 160.6 kB / 0.5637 GB, free: 11.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/0.5974, allocations: 23.09 kB / 0.5637 GB, free: 11.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-06/0.5974, allocations: 0 / 0.5637 GB, free: 11.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.5976, allocations: 322 kB / 0.564 GB, free: 10.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.801e-05/0.5977, allocations: 18.62 kB / 0.564 GB, free: 10.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.06e-05/0.5977, allocations: 21.98 kB / 0.5641 GB, free: 10.74 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.418e-05/0.5978, allocations: 26.53 kB / 0.5641 GB, free: 10.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.5978, allocations: 0 / 0.5641 GB, free: 10.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002108/0.5981, allocations: 87.36 kB / 0.5642 GB, free: 10.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.5981, allocations: 4 kB / 0.5642 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.5981, allocations: 4 kB / 0.5642 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.5981, allocations: 3.953 kB / 0.5642 GB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.5984, allocations: 23.98 kB / 0.5642 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.5984, allocations: 0 / 0.5642 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.5985, allocations: 15.98 kB / 0.5642 GB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.5985, allocations: 0 / 0.5642 GB, free: 10.59 MB / 378.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 (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 8.758e-05/0.5986, allocations: 110.9 kB / 0.5643 GB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.71e-05/0.5987, allocations: 11.81 kB / 0.5643 GB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002888/0.599, allocations: 106.9 kB / 0.5644 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.599, allocations: 7.938 kB / 0.5644 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.599, allocations: 0 / 0.5644 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.599, allocations: 7.984 kB / 0.5645 GB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006188/0.5997, allocations: 378.5 kB / 0.5648 GB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.5997, allocations: 0 / 0.5648 GB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.5999, allocations: 23.98 kB / 0.5648 GB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.5999, allocations: 11.89 kB / 0.5648 GB, free: 9.945 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.5999, allocations: 3.984 kB / 0.5648 GB, free: 9.941 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.5999, allocations: 3.938 kB / 0.5649 GB, free: 9.938 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.6, allocations: 0 / 0.5649 GB, free: 9.938 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.6002, allocations: 182.9 kB / 0.565 GB, free: 9.762 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.691e-05/0.6003, allocations: 96.14 kB / 0.5651 GB, free: 9.652 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.6004, allocations: 3.953 kB / 0.5651 GB, free: 9.648 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.6005, allocations: 15.98 kB / 0.5651 GB, free: 9.633 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.6006, allocations: 11.36 kB / 0.5651 GB, free: 9.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.6006, allocations: 4 kB / 0.5652 GB, free: 9.621 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001559/0.6008, allocations: 129.4 kB / 0.5653 GB, free: 9.508 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6008, allocations: 0 / 0.5653 GB, free: 9.508 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003268/0.6011, allocations: 27.55 kB / 0.5653 GB, free: 9.484 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 (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.001112/0.6023, allocations: 357 kB / 0.5656 GB, free: 9.188 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002506/0.6025, allocations: 63.8 kB / 0.5657 GB, free: 9.141 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.6025, allocations: 0 / 0.5657 GB, free: 9.141 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.509e-05/0.6027, allocations: 34.7 kB / 0.5657 GB, free: 9.117 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.603, allocations: 15.94 kB / 0.5658 GB, free: 9.105 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005225/0.6035, allocations: 195.5 kB / 0.5659 GB, free: 8.906 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.6039, allocations: 0.7131 MB / 0.5666 GB, free: 8.172 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.192e-05/0.604, allocations: 15.44 kB / 0.5666 GB, free: 8.156 MB / 378.7 MB Notification: Performance of SimCode: time 1.092e-06/0.604, allocations: 0 / 0.5666 GB, free: 8.156 MB / 378.7 MB Notification: Performance of Templates: time 0.005016/0.609, allocations: 1.731 MB / 0.5683 GB, free: 6.434 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches