Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2D.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002072/0.002071, allocations: 182.3 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.152/2.152, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001091/0.001091, allocations: 82.67 kB / 267.5 MB, free: 14.11 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.2784/0.2784, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.704e-05/3.73e-05, allocations: 7.984 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1206, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.505/0.6257, allocations: 86.99 MB / 0.5577 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.626, allocations: 76.36 kB / 0.5578 GB, free: 0.6055 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01676/0.6428, allocations: 4.3 MB / 0.562 GB, free: 13.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.6428, allocations: 0 / 0.562 GB, free: 13.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.6428, allocations: 3.609 kB / 0.562 GB, free: 13.2 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.0005009/0.6434, allocations: 384.2 kB / 0.5624 GB, free: 12.78 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.6434, allocations: 8.031 kB / 0.5624 GB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.652e-05/0.6435, allocations: 11.89 kB / 0.5624 GB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.6438, allocations: 195.2 kB / 0.5626 GB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.6438, allocations: 3.938 kB / 0.5626 GB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.6438, allocations: 4 kB / 0.5626 GB, free: 12.53 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.644, allocations: 65.56 kB / 0.5627 GB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.644, allocations: 4 kB / 0.5627 GB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.644, allocations: 0 / 0.5627 GB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.6441, allocations: 0 / 0.5627 GB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.026e-05/0.6441, allocations: 18.25 kB / 0.5627 GB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004715/0.6446, allocations: 301.2 kB / 0.563 GB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.6447, allocations: 36.02 kB / 0.563 GB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.865e-05/0.6448, allocations: 11.67 kB / 0.563 GB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.6448, allocations: 0 / 0.563 GB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.6449, allocations: 41.2 kB / 0.5631 GB, free: 12.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/0.6449, allocations: 0 / 0.5631 GB, free: 12.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006791/0.6456, allocations: 141.8 kB / 0.5632 GB, free: 11.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.6457, allocations: 77.11 kB / 0.5633 GB, free: 11.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.6458, allocations: 131 kB / 0.5634 GB, free: 11.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.6459, allocations: 25.7 kB / 0.5634 GB, free: 11.65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.857e-05/0.646, allocations: 166.4 kB / 0.5636 GB, free: 11.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.646, allocations: 11.72 kB / 0.5636 GB, free: 11.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-06/0.646, allocations: 3.938 kB / 0.5636 GB, free: 11.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.6462, allocations: 314.8 kB / 0.5639 GB, free: 11.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.035e-05/0.6462, allocations: 15.81 kB / 0.5639 GB, free: 11.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.893e-05/0.6463, allocations: 36.89 kB / 0.5639 GB, free: 11.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.447e-05/0.6464, allocations: 18.56 kB / 0.564 GB, free: 11.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.6464, allocations: 0 / 0.564 GB, free: 11.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001996/0.6466, allocations: 77.41 kB / 0.564 GB, free: 11.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.6466, allocations: 4 kB / 0.564 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.6466, allocations: 3.953 kB / 0.564 GB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.6467, allocations: 0 / 0.564 GB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.6469, allocations: 28.02 kB / 0.5641 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.6469, allocations: 0 / 0.5641 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.647, allocations: 15.92 kB / 0.5641 GB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.6471, allocations: 4 kB / 0.5641 GB, free: 10.98 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.736e-05/0.6472, allocations: 108.7 kB / 0.5642 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.427e-05/0.6472, allocations: 8.047 kB / 0.5642 GB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/0.6475, allocations: 91.59 kB / 0.5643 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.6475, allocations: 7.953 kB / 0.5643 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.6475, allocations: 0 / 0.5643 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.6475, allocations: 0 / 0.5643 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005242/0.6481, allocations: 363.1 kB / 0.5646 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.6481, allocations: 3.938 kB / 0.5646 GB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/0.6483, allocations: 23.98 kB / 0.5647 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.6483, allocations: 7.953 kB / 0.5647 GB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.6483, allocations: 0 / 0.5647 GB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.6483, allocations: 0 / 0.5647 GB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.6483, allocations: 0 / 0.5647 GB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.6485, allocations: 173.3 kB / 0.5648 GB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.648e-05/0.6486, allocations: 92.5 kB / 0.5649 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.6487, allocations: 3.953 kB / 0.5649 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.6488, allocations: 19.23 kB / 0.5649 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.344e-05/0.6489, allocations: 7.984 kB / 0.565 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.6489, allocations: 4 kB / 0.565 GB, free: 10.06 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001179/0.649, allocations: 105.4 kB / 0.5651 GB, free: 9.969 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.6491, allocations: 0 / 0.5651 GB, free: 9.969 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003546/0.6494, allocations: 39.42 kB / 0.5651 GB, free: 9.934 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.001188/0.6506, allocations: 402.4 kB / 0.5655 GB, free: 9.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.6508, allocations: 49.92 kB / 0.5655 GB, free: 9.555 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.6508, allocations: 0 / 0.5655 GB, free: 9.555 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.341e-05/0.6509, allocations: 26.86 kB / 0.5655 GB, free: 9.535 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.6512, allocations: 17.8 kB / 0.5656 GB, free: 9.523 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004495/0.6517, allocations: 153.2 kB / 0.5657 GB, free: 9.359 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.6521, allocations: 0.6926 MB / 0.5664 GB, free: 8.641 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.432e-05/0.6522, allocations: 23.36 kB / 0.5664 GB, free: 8.617 MB / 378.7 MB Notification: Performance of SimCode: time 9.02e-07/0.6522, allocations: 0 / 0.5664 GB, free: 8.617 MB / 378.7 MB Notification: Performance of Templates: time 0.005131/0.6574, allocations: 1.77 MB / 0.5681 GB, free: 6.855 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches