Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6") translateModel(ModelicaTest.Tables.CombiTable2D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00219/0.00219, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.215/2.215, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001546/0.001546, allocations: 81.69 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3256/0.3256, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.158e-05/2.168e-05, allocations: 4 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4012, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1605/0.5618, allocations: 86.05 MB / 0.5499 GB, free: 13.28 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.5621, allocations: 71.47 kB / 0.55 GB, free: 13.21 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02948/0.5916, allocations: 7.681 MB / 0.5575 GB, free: 5.516 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5917, allocations: 0 / 0.5575 GB, free: 5.516 MB / 395.1 MB Notification: Performance of Transformations before backend: time 3.755e-05/0.5917, allocations: 8 kB / 0.5575 GB, free: 5.508 MB / 395.1 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.0008239/0.5926, allocations: 0.563 MB / 0.5581 GB, free: 4.902 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.5926, allocations: 12.03 kB / 0.5581 GB, free: 4.891 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.5928, allocations: 43.39 kB / 0.5581 GB, free: 4.848 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007241/0.5935, allocations: 323.3 kB / 0.5584 GB, free: 4.492 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.5935, allocations: 0 / 0.5584 GB, free: 4.492 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.5936, allocations: 12 kB / 0.5584 GB, free: 4.48 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001016/0.5937, allocations: 15.94 kB / 0.5584 GB, free: 4.465 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.5938, allocations: 45.67 kB / 0.5585 GB, free: 4.414 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.5938, allocations: 4 kB / 0.5585 GB, free: 4.41 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.5939, allocations: 0 / 0.5585 GB, free: 4.41 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.5939, allocations: 3.953 kB / 0.5585 GB, free: 4.406 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000833/0.5947, allocations: 409.3 kB / 0.5589 GB, free: 3.969 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.669e-05/0.5949, allocations: 30.58 kB / 0.5589 GB, free: 3.93 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.283e-05/0.5949, allocations: 20.8 kB / 0.5589 GB, free: 3.906 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.5949, allocations: 0 / 0.5589 GB, free: 3.906 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.595, allocations: 34.64 kB / 0.559 GB, free: 3.863 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 1.794e-06/0.595, allocations: 0 / 0.559 GB, free: 3.863 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008282/0.5958, allocations: 219.9 kB / 0.5592 GB, free: 3.641 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.5959, allocations: 55.41 kB / 0.5592 GB, free: 3.574 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/0.5978, allocations: 0.7511 MB / 0.56 GB, free: 2.816 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.5979, allocations: 25.7 kB / 0.56 GB, free: 2.785 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000219/0.5981, allocations: 238.5 kB / 0.5602 GB, free: 2.551 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.039e-05/0.5982, allocations: 19.72 kB / 0.5602 GB, free: 2.531 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/0.5982, allocations: 0 / 0.5602 GB, free: 2.531 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.5983, allocations: 310.8 kB / 0.5605 GB, free: 2.219 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.923e-05/0.5984, allocations: 23.94 kB / 0.5606 GB, free: 2.195 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.677e-05/0.5985, allocations: 12.08 kB / 0.5606 GB, free: 2.184 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.187e-05/0.5985, allocations: 19.97 kB / 0.5606 GB, free: 2.164 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.5986, allocations: 0 / 0.5606 GB, free: 2.164 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001934/0.5988, allocations: 65.92 kB / 0.5606 GB, free: 2.094 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.5988, allocations: 4 kB / 0.5607 GB, free: 2.09 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.5988, allocations: 0 / 0.5607 GB, free: 2.09 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.5988, allocations: 3.953 kB / 0.5607 GB, free: 2.086 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/0.5991, allocations: 31.92 kB / 0.5607 GB, free: 2.055 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.5991, allocations: 4.062 kB / 0.5607 GB, free: 2.051 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.5993, allocations: 15.98 kB / 0.5607 GB, free: 2.035 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.5993, allocations: 0 / 0.5607 GB, free: 2.035 MB / 395.1 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.818e-05/0.5994, allocations: 101 kB / 0.5608 GB, free: 1.93 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.5996, allocations: 43.44 kB / 0.5608 GB, free: 1.887 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003792/0.6, allocations: 129.7 kB / 0.561 GB, free: 1.754 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.6, allocations: 11.92 kB / 0.561 GB, free: 1.742 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.6, allocations: 4 kB / 0.561 GB, free: 1.738 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.6, allocations: 0 / 0.561 GB, free: 1.738 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.6014, allocations: 0.5575 MB / 0.5615 GB, free: 1.137 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.6014, allocations: 0 / 0.5615 GB, free: 1.137 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.6016, allocations: 19.98 kB / 0.5615 GB, free: 1.117 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/0.6017, allocations: 4 kB / 0.5615 GB, free: 1.113 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.6017, allocations: 7.953 kB / 0.5616 GB, free: 1.105 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.6017, allocations: 0 / 0.5616 GB, free: 1.105 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.6017, allocations: 0 / 0.5616 GB, free: 1.105 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003562/0.6021, allocations: 207 kB / 0.5618 GB, free: 0.8867 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003191/0.6024, allocations: 160.5 kB / 0.5619 GB, free: 0.7109 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.948e-05/0.6025, allocations: 0 / 0.5619 GB, free: 0.7109 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.6027, allocations: 19.94 kB / 0.5619 GB, free: 0.6914 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/0.6028, allocations: 7.984 kB / 0.5619 GB, free: 0.6836 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.6028, allocations: 4 kB / 0.5619 GB, free: 0.6797 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.00116/0.604, allocations: 0.6082 MB / 0.5625 GB, free: 76 kB / 395.1 MB Notification: Performance of sort global known variables: time 7.71e-07/0.604, allocations: 0 / 0.5625 GB, free: 76 kB / 395.1 MB Notification: Performance of remove unused functions: time 0.0005143/0.6045, allocations: 52 kB / 0.5626 GB, free: 24 kB / 395.1 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.001103/0.6057, allocations: 345.5 kB / 0.5629 GB, free: 15.72 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.00019/0.6059, allocations: 47.88 kB / 0.563 GB, free: 15.67 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6059, allocations: 0 / 0.563 GB, free: 15.67 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 6.572e-05/0.606, allocations: 20 kB / 0.563 GB, free: 15.65 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.6064, allocations: 29.38 kB / 0.563 GB, free: 15.63 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.6083, allocations: 0.7629 MB / 0.5637 GB, free: 14.84 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005998/0.6089, allocations: 0.8302 MB / 0.5646 GB, free: 13.98 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.6091, allocations: 23.44 kB / 0.5646 GB, free: 13.96 MB / 411.1 MB Notification: Performance of SimCode: time 1.233e-06/0.6091, allocations: 0 / 0.5646 GB, free: 13.96 MB / 411.1 MB Notification: Performance of Templates: time 0.01286/0.622, allocations: 4.334 MB / 0.5688 GB, free: 9.613 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test6/Test6.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches