Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4") translateModel(ModelicaTest.Tables.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002162/0.002162, 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 2.234/2.234, 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.001076/0.001076, allocations: 94.25 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.2934/0.2934, allocations: 43.48 MB / 353.6 MB, free: 2.285 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.21e-05/2.225e-05, allocations: 4 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4658/0.4659, allocations: 58.84 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1635/0.6295, allocations: 86.12 MB / 0.55 GB, free: 13.2 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.6298, allocations: 75.41 kB / 0.5501 GB, free: 13.12 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02951/0.6594, allocations: 7.638 MB / 0.5575 GB, free: 5.473 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.6594, allocations: 0 / 0.5575 GB, free: 5.473 MB / 395.1 MB Notification: Performance of Transformations before backend: time 3.438e-05/0.6595, allocations: 8 kB / 0.5575 GB, free: 5.465 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.0007709/0.6602, allocations: 0.5474 MB / 0.5581 GB, free: 4.875 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.6603, allocations: 8.031 kB / 0.5581 GB, free: 4.867 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.6604, allocations: 47.39 kB / 0.5581 GB, free: 4.82 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007171/0.6612, allocations: 319.4 kB / 0.5584 GB, free: 4.469 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.6612, allocations: 4 kB / 0.5584 GB, free: 4.465 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.6612, allocations: 3.938 kB / 0.5584 GB, free: 4.461 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.643e-05/0.6613, allocations: 19.98 kB / 0.5585 GB, free: 4.441 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.6615, allocations: 37.7 kB / 0.5585 GB, free: 4.398 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.6615, allocations: 4 kB / 0.5585 GB, free: 4.395 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.6615, allocations: 4 kB / 0.5585 GB, free: 4.391 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.6615, allocations: 3.953 kB / 0.5585 GB, free: 4.387 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008552/0.6624, allocations: 405.3 kB / 0.5589 GB, free: 3.953 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.6626, allocations: 34.52 kB / 0.5589 GB, free: 3.91 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.462e-05/0.6627, allocations: 16.94 kB / 0.5589 GB, free: 3.891 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.6627, allocations: 4 kB / 0.5589 GB, free: 3.887 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.6628, allocations: 30.56 kB / 0.559 GB, free: 3.848 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 3.065e-06/0.6628, allocations: 0 / 0.559 GB, free: 3.848 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006748/0.6635, allocations: 184 kB / 0.5591 GB, free: 3.66 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.6635, allocations: 55.41 kB / 0.5592 GB, free: 3.594 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001891/0.6654, allocations: 0.7473 MB / 0.5599 GB, free: 2.84 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.6655, allocations: 33.69 kB / 0.56 GB, free: 2.801 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/0.6657, allocations: 238.4 kB / 0.5602 GB, free: 2.566 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.6658, allocations: 15.75 kB / 0.5602 GB, free: 2.551 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-06/0.6658, allocations: 0 / 0.5602 GB, free: 2.551 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.6659, allocations: 310.8 kB / 0.5605 GB, free: 2.238 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.3e-05/0.666, allocations: 12 kB / 0.5605 GB, free: 2.227 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.157e-05/0.666, allocations: 11.94 kB / 0.5605 GB, free: 2.215 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.258e-05/0.6661, allocations: 12.17 kB / 0.5605 GB, free: 2.203 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.6661, allocations: 0 / 0.5605 GB, free: 2.203 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001559/0.6663, allocations: 61.7 kB / 0.5606 GB, free: 2.137 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.6663, allocations: 7.938 kB / 0.5606 GB, free: 2.129 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.6663, allocations: 4.125 kB / 0.5606 GB, free: 2.125 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.6664, allocations: 3.953 kB / 0.5606 GB, free: 2.121 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.6665, allocations: 15.98 kB / 0.5606 GB, free: 2.105 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.6665, allocations: 0 / 0.5606 GB, free: 2.105 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.6667, allocations: 12.14 kB / 0.5606 GB, free: 2.094 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.6667, allocations: 0 / 0.5606 GB, free: 2.094 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 (5): * Single equations (assignments): 5 * 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 9.021e-05/0.6668, allocations: 105 kB / 0.5607 GB, free: 1.984 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.667, allocations: 43.44 kB / 0.5608 GB, free: 1.941 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003545/0.6673, allocations: 109.4 kB / 0.5609 GB, free: 1.824 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.6674, allocations: 3.953 kB / 0.5609 GB, free: 1.82 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.6674, allocations: 0 / 0.5609 GB, free: 1.82 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.6674, allocations: 0 / 0.5609 GB, free: 1.82 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.6686, allocations: 0.538 MB / 0.5614 GB, free: 1.238 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.6686, allocations: 0 / 0.5614 GB, free: 1.238 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.6688, allocations: 19.98 kB / 0.5614 GB, free: 1.219 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.6688, allocations: 0 / 0.5614 GB, free: 1.219 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.6688, allocations: 3.953 kB / 0.5614 GB, free: 1.215 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.6688, allocations: 0 / 0.5614 GB, free: 1.215 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.6688, allocations: 0 / 0.5614 GB, free: 1.215 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.6692, allocations: 198.9 kB / 0.5616 GB, free: 1.004 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003074/0.6695, allocations: 156.9 kB / 0.5618 GB, free: 0.832 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.884e-05/0.6696, allocations: 8 kB / 0.5618 GB, free: 0.8242 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.6697, allocations: 15.94 kB / 0.5618 GB, free: 0.8086 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.6698, allocations: 4 kB / 0.5618 GB, free: 0.8047 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.6698, allocations: 4 kB / 0.5618 GB, free: 0.8008 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001156/0.671, allocations: 0.6043 MB / 0.5624 GB, free: 204 kB / 395.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.671, allocations: 0 / 0.5624 GB, free: 204 kB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004861/0.6715, allocations: 63.84 kB / 0.5625 GB, free: 140 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 (5): * Single equations (assignments): 5 * 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.001069/0.6726, allocations: 339 kB / 0.5628 GB, free: 15.84 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0001548/0.6728, allocations: 27.94 kB / 0.5628 GB, free: 15.81 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.6728, allocations: 0 / 0.5628 GB, free: 15.81 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 5.052e-05/0.6729, allocations: 19.88 kB / 0.5628 GB, free: 15.79 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/0.6733, allocations: 25.39 kB / 0.5628 GB, free: 15.77 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.6751, allocations: 0.7514 MB / 0.5636 GB, free: 14.99 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006048/0.6758, allocations: 0.8263 MB / 0.5644 GB, free: 14.14 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.6759, allocations: 27.44 kB / 0.5644 GB, free: 14.11 MB / 411.1 MB Notification: Performance of SimCode: time 1.143e-06/0.676, allocations: 0 / 0.5644 GB, free: 14.11 MB / 411.1 MB Notification: Performance of Templates: time 0.01263/0.6886, allocations: 4.201 MB / 0.5685 GB, free: 9.902 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches