Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8") translateModel(ModelicaTest.Tables.CombiTable2D.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001458/0.001457, allocations: 178.4 kB / 8.362 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 1.979/1.979, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.001122/0.001122, allocations: 81.56 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.3451/0.3451, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.932e-05/1.942e-05, allocations: 224 / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.402, allocations: 58.85 MB / 477.1 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1603/0.5624, allocations: 86 MB / 0.5499 GB, free: 13.32 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.5627, allocations: 71.95 kB / 0.5499 GB, free: 13.25 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02912/0.5919, allocations: 7.699 MB / 0.5575 GB, free: 5.535 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5919, allocations: 4 kB / 0.5575 GB, free: 5.531 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.723e-05/0.592, allocations: 4 kB / 0.5575 GB, free: 5.527 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007043/0.5927, allocations: 0.5355 MB / 0.558 GB, free: 4.949 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.5927, allocations: 8.031 kB / 0.558 GB, free: 4.941 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.587e-05/0.5928, allocations: 43.39 kB / 0.558 GB, free: 4.898 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006694/0.5935, allocations: 323.4 kB / 0.5584 GB, free: 4.543 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.5935, allocations: 0 / 0.5584 GB, free: 4.543 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.5936, allocations: 7.938 kB / 0.5584 GB, free: 4.535 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.167e-05/0.5937, allocations: 12 kB / 0.5584 GB, free: 4.523 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.925e-05/0.5938, allocations: 42.12 kB / 0.5584 GB, free: 4.477 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.5938, allocations: 0 / 0.5584 GB, free: 4.477 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.5938, allocations: 0 / 0.5584 GB, free: 4.477 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.5938, allocations: 3.953 kB / 0.5584 GB, free: 4.473 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007399/0.5946, allocations: 393.3 kB / 0.5588 GB, free: 4.051 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.01e-05/0.5947, allocations: 34.5 kB / 0.5588 GB, free: 4.008 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.95e-05/0.5947, allocations: 8.922 kB / 0.5588 GB, free: 3.996 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.5947, allocations: 0 / 0.5588 GB, free: 3.996 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.5948, allocations: 34.56 kB / 0.5589 GB, free: 3.953 MB / 395.1 MB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/0.5948, allocations: 0 / 0.5589 GB, free: 3.953 MB / 395.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002278/0.595, allocations: 81.12 kB / 0.5589 GB, free: 3.867 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.5951, allocations: 51.41 kB / 0.559 GB, free: 3.805 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001801/0.5969, allocations: 0.7551 MB / 0.5597 GB, free: 3.039 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.5969, allocations: 25.7 kB / 0.5598 GB, free: 3.008 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.5971, allocations: 234.5 kB / 0.56 GB, free: 2.777 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.5972, allocations: 3.906 kB / 0.56 GB, free: 2.773 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-06/0.5972, allocations: 0.5469 kB / 0.56 GB, free: 2.773 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.5973, allocations: 314.8 kB / 0.5603 GB, free: 2.457 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.743e-05/0.5973, allocations: 11.94 kB / 0.5603 GB, free: 2.445 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.943e-05/0.5974, allocations: 4 kB / 0.5603 GB, free: 2.441 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.328e-05/0.5974, allocations: 64 / 0.5603 GB, free: 2.441 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5974, allocations: 7.938 kB / 0.5603 GB, free: 2.434 MB / 395.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000106/0.5975, allocations: 45.69 kB / 0.5604 GB, free: 2.383 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.5976, allocations: 4 kB / 0.5604 GB, free: 2.379 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.5976, allocations: 0 / 0.5604 GB, free: 2.379 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.5976, allocations: 0 / 0.5604 GB, free: 2.379 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.5977, allocations: 4 kB / 0.5604 GB, free: 2.375 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.5978, allocations: 3.953 kB / 0.5604 GB, free: 2.371 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.5979, allocations: 7.984 kB / 0.5604 GB, free: 2.363 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.5979, allocations: 4 kB / 0.5604 GB, free: 2.359 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 (2): * Single equations (assignments): 2 * 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 7.236e-05/0.598, allocations: 105 kB / 0.5605 GB, free: 2.25 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.5981, allocations: 35.53 kB / 0.5605 GB, free: 2.215 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002134/0.5983, allocations: 96.91 kB / 0.5606 GB, free: 2.109 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.5984, allocations: 0 / 0.5606 GB, free: 2.109 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5984, allocations: 0 / 0.5606 GB, free: 2.109 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.5984, allocations: 3.953 kB / 0.5606 GB, free: 2.105 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004248/0.5988, allocations: 309.9 kB / 0.5609 GB, free: 1.766 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5988, allocations: 0 / 0.5609 GB, free: 1.766 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.217e-05/0.5989, allocations: 16.03 kB / 0.5609 GB, free: 1.75 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.5989, allocations: 0 / 0.5609 GB, free: 1.75 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.5989, allocations: 3.984 kB / 0.5609 GB, free: 1.746 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.599, allocations: 0 / 0.5609 GB, free: 1.746 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.599, allocations: 0 / 0.5609 GB, free: 1.746 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.5992, allocations: 171 kB / 0.5611 GB, free: 1.562 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003179/0.5995, allocations: 164.5 kB / 0.5612 GB, free: 1.383 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.742e-05/0.5996, allocations: 3.969 kB / 0.5612 GB, free: 1.379 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.5997, allocations: 11.98 kB / 0.5613 GB, free: 1.367 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/0.5998, allocations: 0 / 0.5613 GB, free: 1.367 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.5998, allocations: 0 / 0.5613 GB, free: 1.367 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001045/0.6009, allocations: 0.6082 MB / 0.5618 GB, free: 0.7617 MB / 395.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6009, allocations: 0 / 0.5618 GB, free: 0.7617 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004299/0.6013, allocations: 52 kB / 0.5619 GB, free: 0.7109 MB / 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 (2): * Single equations (assignments): 2 * 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.0008421/0.6022, allocations: 291 kB / 0.5622 GB, free: 468 kB / 395.1 MB Notification: Performance of simCode: created initialization part: time 9.323e-05/0.6023, allocations: 8 kB / 0.5622 GB, free: 460 kB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6023, allocations: 4 kB / 0.5622 GB, free: 456 kB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 2.821e-05/0.6023, allocations: 12 kB / 0.5622 GB, free: 444 kB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.6027, allocations: 29.7 kB / 0.5622 GB, free: 416 kB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.6044, allocations: 0.7318 MB / 0.5629 GB, free: 15.64 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006013/0.605, allocations: 0.8263 MB / 0.5637 GB, free: 14.79 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.6051, allocations: 27.36 kB / 0.5638 GB, free: 14.77 MB / 411.1 MB Notification: Performance of SimCode: time 1.032e-06/0.6052, allocations: 0 / 0.5638 GB, free: 14.77 MB / 411.1 MB Notification: Performance of Templates: time 0.01149/0.6167, allocations: 3.959 MB / 0.5676 GB, free: 10.8 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test8/Test8.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches