Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.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.Test10,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.Test10") translateModel(ModelicaTest.Tables.CombiTable2D.Test10,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.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00217/0.00217, allocations: 177.8 kB / 8.36 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.14/2.14, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.001082/0.001082, allocations: 94.67 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.2907/0.2907, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.803e-05/1.8e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3908/0.3909, allocations: 58.86 MB / 477.1 MB, free: 5.254 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1593/0.5503, allocations: 86.33 MB / 0.5502 GB, free: 12.98 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/0.5506, allocations: 71.91 kB / 0.5503 GB, free: 12.91 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01709/0.5677, allocations: 4.17 MB / 0.5544 GB, free: 8.73 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5677, allocations: 0 / 0.5544 GB, free: 8.73 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.5678, allocations: 0 / 0.5544 GB, free: 8.73 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.0004916/0.5683, allocations: 377.3 kB / 0.5547 GB, free: 8.32 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.5683, allocations: 8.031 kB / 0.5547 GB, free: 8.312 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.369e-05/0.5684, allocations: 15.95 kB / 0.5547 GB, free: 8.297 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.5687, allocations: 190.9 kB / 0.5549 GB, free: 8.07 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.5687, allocations: 4 kB / 0.5549 GB, free: 8.066 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.5687, allocations: 3.938 kB / 0.5549 GB, free: 8.062 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.978e-05/0.5688, allocations: 16 kB / 0.5549 GB, free: 8.047 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.569, allocations: 59.41 kB / 0.555 GB, free: 7.977 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.569, allocations: 0 / 0.555 GB, free: 7.977 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.569, allocations: 0 / 0.555 GB, free: 7.977 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.569, allocations: 3.938 kB / 0.555 GB, free: 7.973 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004316/0.5695, allocations: 265.3 kB / 0.5553 GB, free: 7.676 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.688e-05/0.5696, allocations: 38.52 kB / 0.5553 GB, free: 7.629 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.5697, allocations: 12.86 kB / 0.5553 GB, free: 7.613 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.5697, allocations: 0 / 0.5553 GB, free: 7.613 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.5697, allocations: 38.56 kB / 0.5553 GB, free: 7.566 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.5697, allocations: 0 / 0.5553 GB, free: 7.566 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006028/0.5703, allocations: 133.4 kB / 0.5555 GB, free: 7.43 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.5704, allocations: 81.11 kB / 0.5555 GB, free: 7.332 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.5706, allocations: 125.2 kB / 0.5557 GB, free: 7.199 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.5706, allocations: 25.7 kB / 0.5557 GB, free: 7.168 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.844e-05/0.5707, allocations: 162.6 kB / 0.5558 GB, free: 7.008 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.5708, allocations: 20.25 kB / 0.5559 GB, free: 6.988 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.912e-06/0.5708, allocations: 0 / 0.5559 GB, free: 6.988 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.5709, allocations: 318.8 kB / 0.5562 GB, free: 6.668 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.601e-05/0.571, allocations: 12.25 kB / 0.5562 GB, free: 6.656 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.045e-05/0.5711, allocations: 21.72 kB / 0.5562 GB, free: 6.629 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.071e-05/0.5711, allocations: 24.16 kB / 0.5562 GB, free: 6.605 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.5711, allocations: 32 / 0.5562 GB, free: 6.605 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001633/0.5713, allocations: 77.52 kB / 0.5563 GB, free: 6.523 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.5713, allocations: 4 kB / 0.5563 GB, free: 6.52 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.5714, allocations: 0 / 0.5563 GB, free: 6.52 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.5714, allocations: 4 kB / 0.5563 GB, free: 6.516 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/0.5716, allocations: 27.94 kB / 0.5563 GB, free: 6.488 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.5716, allocations: 0 / 0.5563 GB, free: 6.488 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.5717, allocations: 23.92 kB / 0.5564 GB, free: 6.465 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.599e-06/0.5718, allocations: 144 / 0.5564 GB, free: 6.465 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.564e-05/0.5719, allocations: 105 kB / 0.5565 GB, free: 6.355 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.48e-05/0.5719, allocations: 11.89 kB / 0.5565 GB, free: 6.344 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.5722, allocations: 78.23 kB / 0.5565 GB, free: 6.262 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.5722, allocations: 0 / 0.5565 GB, free: 6.262 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.5722, allocations: 7.953 kB / 0.5565 GB, free: 6.254 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.5722, allocations: 0 / 0.5565 GB, free: 6.254 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004782/0.5727, allocations: 327.1 kB / 0.5569 GB, free: 5.891 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.145e-06/0.5727, allocations: 0 / 0.5569 GB, free: 5.891 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.5729, allocations: 19.98 kB / 0.5569 GB, free: 5.871 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.5729, allocations: 3.938 kB / 0.5569 GB, free: 5.867 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.5729, allocations: 7.984 kB / 0.5569 GB, free: 5.859 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.5729, allocations: 3.953 kB / 0.5569 GB, free: 5.855 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5729, allocations: 0 / 0.5569 GB, free: 5.855 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.5732, allocations: 171.4 kB / 0.5571 GB, free: 5.672 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.5e-05/0.5733, allocations: 85.02 kB / 0.5571 GB, free: 5.57 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.5733, allocations: 15.92 kB / 0.5572 GB, free: 5.555 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.5735, allocations: 8 kB / 0.5572 GB, free: 5.547 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.5736, allocations: 11.94 kB / 0.5572 GB, free: 5.535 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-06/0.5736, allocations: 0 / 0.5572 GB, free: 5.535 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001125/0.5737, allocations: 115.1 kB / 0.5573 GB, free: 5.426 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5737, allocations: 0 / 0.5573 GB, free: 5.426 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003613/0.5741, allocations: 31.94 kB / 0.5573 GB, free: 5.395 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 (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.001081/0.5752, allocations: 384.9 kB / 0.5577 GB, free: 5.059 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001718/0.5754, allocations: 39.98 kB / 0.5577 GB, free: 5.02 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.5754, allocations: 0 / 0.5577 GB, free: 5.02 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 7.181e-05/0.5755, allocations: 27.94 kB / 0.5577 GB, free: 4.992 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.5758, allocations: 19.84 kB / 0.5578 GB, free: 4.973 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004107/0.5762, allocations: 138.1 kB / 0.5579 GB, free: 4.809 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.5765, allocations: 0.7041 MB / 0.5586 GB, free: 4.078 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.493e-05/0.5766, allocations: 15.44 kB / 0.5586 GB, free: 4.062 MB / 395.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5766, allocations: 3.938 kB / 0.5586 GB, free: 4.059 MB / 395.1 MB Notification: Performance of Templates: time 0.005039/0.5817, allocations: 1.75 MB / 0.5603 GB, free: 2.309 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test10/Test10.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches