Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable2D.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002305/0.002305, allocations: 182.1 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.181/2.181, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001085/0.001084, allocations: 94.64 kB / 267.5 MB, free: 14.04 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.2783/0.2783, allocations: 43.48 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.663e-05/3.666e-05, allocations: 7.984 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1224, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5361/0.6586, allocations: 86.75 MB / 0.5575 GB, free: 0.8984 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/0.6589, allocations: 75.17 kB / 0.5576 GB, free: 0.8594 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01728/0.6762, allocations: 4.197 MB / 0.5617 GB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.6762, allocations: 0 / 0.5617 GB, free: 13.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.02e-05/0.6763, allocations: 7.984 kB / 0.5617 GB, free: 13.26 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.0005494/0.6768, allocations: 396.9 kB / 0.5621 GB, free: 12.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.6769, allocations: 8.031 kB / 0.5621 GB, free: 12.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.909e-05/0.6769, allocations: 15.86 kB / 0.5621 GB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.6773, allocations: 193 kB / 0.5623 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.6773, allocations: 7.625 kB / 0.5623 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.6773, allocations: 0 / 0.5623 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.6775, allocations: 56.98 kB / 0.5623 GB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.6775, allocations: 0 / 0.5623 GB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.6775, allocations: 0 / 0.5623 GB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.6775, allocations: 0 / 0.5623 GB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.375e-05/0.6776, allocations: 19.69 kB / 0.5623 GB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004758/0.6781, allocations: 301.6 kB / 0.5626 GB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.6782, allocations: 37.39 kB / 0.5627 GB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.2e-05/0.6783, allocations: 12.48 kB / 0.5627 GB, free: 12.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.6783, allocations: 4 kB / 0.5627 GB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.6784, allocations: 38.56 kB / 0.5627 GB, free: 12.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.783e-06/0.6784, allocations: 0 / 0.5627 GB, free: 12.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006412/0.679, allocations: 143.2 kB / 0.5629 GB, free: 11.97 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.6791, allocations: 54.97 kB / 0.5629 GB, free: 11.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.6794, allocations: 167 kB / 0.5631 GB, free: 11.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.6794, allocations: 29.7 kB / 0.5631 GB, free: 11.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.305e-05/0.6795, allocations: 165.2 kB / 0.5633 GB, free: 11.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.6795, allocations: 27.33 kB / 0.5633 GB, free: 11.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/0.6796, allocations: 0 / 0.5633 GB, free: 11.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.6797, allocations: 314.8 kB / 0.5636 GB, free: 11.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.331e-05/0.6798, allocations: 14.31 kB / 0.5636 GB, free: 11.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.939e-05/0.6798, allocations: 11.62 kB / 0.5636 GB, free: 11.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.45e-05/0.6799, allocations: 18.67 kB / 0.5636 GB, free: 11.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.6799, allocations: 0 / 0.5636 GB, free: 11.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001754/0.6801, allocations: 82.14 kB / 0.5637 GB, free: 11.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.6801, allocations: 7.984 kB / 0.5637 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.6801, allocations: 0 / 0.5637 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.6802, allocations: 3.953 kB / 0.5637 GB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.6804, allocations: 23.98 kB / 0.5637 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.6804, allocations: 0 / 0.5637 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.6805, allocations: 15.98 kB / 0.5638 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.6806, allocations: 4 kB / 0.5638 GB, free: 11.07 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.292e-05/0.6807, allocations: 104.7 kB / 0.5639 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.209e-05/0.6807, allocations: 15.81 kB / 0.5639 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.681, allocations: 100.3 kB / 0.564 GB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.681, allocations: 3.953 kB / 0.564 GB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.681, allocations: 0 / 0.564 GB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.681, allocations: 4 kB / 0.564 GB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005483/0.6816, allocations: 363.9 kB / 0.5643 GB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.6816, allocations: 0 / 0.5643 GB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.6818, allocations: 23.92 kB / 0.5643 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.6818, allocations: 7.953 kB / 0.5644 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.6819, allocations: 0 / 0.5644 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.6819, allocations: 0 / 0.5644 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.6819, allocations: 0 / 0.5644 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.6821, allocations: 183.5 kB / 0.5645 GB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.922e-05/0.6822, allocations: 91.8 kB / 0.5646 GB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.6823, allocations: 7.953 kB / 0.5646 GB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.6824, allocations: 12.12 kB / 0.5646 GB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/0.6825, allocations: 15.34 kB / 0.5647 GB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.6825, allocations: 0 / 0.5647 GB, free: 10.13 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001885/0.6827, allocations: 138.6 kB / 0.5648 GB, free: 10.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6827, allocations: 4 kB / 0.5648 GB, free: 10 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003252/0.6831, allocations: 23.25 kB / 0.5648 GB, free: 9.984 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.001062/0.6841, allocations: 368.4 kB / 0.5652 GB, free: 9.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001767/0.6843, allocations: 37.62 kB / 0.5652 GB, free: 9.652 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.6844, allocations: 0 / 0.5652 GB, free: 9.652 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.83e-05/0.6844, allocations: 30.86 kB / 0.5652 GB, free: 9.629 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.6848, allocations: 15.3 kB / 0.5652 GB, free: 9.617 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005062/0.6853, allocations: 186.8 kB / 0.5654 GB, free: 9.422 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.6856, allocations: 0.7053 MB / 0.5661 GB, free: 8.695 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.831e-05/0.6857, allocations: 19.42 kB / 0.5661 GB, free: 8.676 MB / 378.7 MB Notification: Performance of SimCode: time 8.62e-07/0.6857, allocations: 0 / 0.5661 GB, free: 8.676 MB / 378.7 MB Notification: Performance of Templates: time 0.004895/0.6906, allocations: 1.675 MB / 0.5678 GB, free: 7.008 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test27/Test27.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches