Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.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.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001548/0.001548, allocations: 186 kB / 16.4 MB, free: 5.699 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.939/1.939, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001129/0.001129, allocations: 86.92 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5123/0.5123, allocations: 43.55 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006219/0.0006215, allocations: 8 kB / 431.4 MB, free: 5.953 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1294, allocations: 58.85 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.468/0.5976, allocations: 87.13 MB / 0.5638 GB, free: 15.42 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/0.5979, allocations: 78.88 kB / 0.5639 GB, free: 15.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0373/0.6352, allocations: 7.882 MB / 0.5716 GB, free: 7.484 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6353, allocations: 0 / 0.5716 GB, free: 7.484 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.991e-05/0.6353, allocations: 8 kB / 0.5716 GB, free: 7.477 MB / 394.7 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.0009685/0.6363, allocations: 0.6176 MB / 0.5722 GB, free: 6.812 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.6364, allocations: 12.02 kB / 0.5722 GB, free: 6.801 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.6365, allocations: 43.44 kB / 0.5722 GB, free: 6.758 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006593/0.6372, allocations: 327.4 kB / 0.5726 GB, free: 6.398 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.6372, allocations: 2.25 kB / 0.5726 GB, free: 6.398 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.6372, allocations: 1.219 kB / 0.5726 GB, free: 6.398 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.6374, allocations: 58.66 kB / 0.5726 GB, free: 6.336 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.6375, allocations: 0 / 0.5726 GB, free: 6.336 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.6375, allocations: 0 / 0.5726 GB, free: 6.336 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.6375, allocations: 3.938 kB / 0.5726 GB, free: 6.332 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.6377, allocations: 35.92 kB / 0.5727 GB, free: 6.297 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009055/0.6386, allocations: 436.8 kB / 0.5731 GB, free: 5.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.6387, allocations: 34.52 kB / 0.5731 GB, free: 5.777 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.6388, allocations: 7.984 kB / 0.5731 GB, free: 5.77 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.6388, allocations: 30.56 kB / 0.5731 GB, free: 5.73 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 2.705e-06/0.6388, allocations: 0 / 0.5731 GB, free: 5.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004253/0.6393, allocations: 109.2 kB / 0.5732 GB, free: 5.617 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.6393, allocations: 51.41 kB / 0.5733 GB, free: 5.555 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002014/0.6414, allocations: 0.7969 MB / 0.5741 GB, free: 4.754 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.6414, allocations: 25.7 kB / 0.5741 GB, free: 4.723 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/0.6417, allocations: 246.5 kB / 0.5743 GB, free: 4.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.6417, allocations: 0 / 0.5743 GB, free: 4.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-06/0.6417, allocations: 0 / 0.5743 GB, free: 4.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.6419, allocations: 314.8 kB / 0.5746 GB, free: 4.164 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.642, allocations: 19.92 kB / 0.5746 GB, free: 4.145 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.831e-05/0.6421, allocations: 12 kB / 0.5747 GB, free: 4.133 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.091e-05/0.6422, allocations: 19.98 kB / 0.5747 GB, free: 4.113 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.6422, allocations: 0 / 0.5747 GB, free: 4.113 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002323/0.6425, allocations: 57.59 kB / 0.5747 GB, free: 4.051 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.6425, allocations: 4 kB / 0.5747 GB, free: 4.047 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.6425, allocations: 0 / 0.5747 GB, free: 4.047 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.6426, allocations: 7.938 kB / 0.5747 GB, free: 4.039 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.594e-05/0.6427, allocations: 12.08 kB / 0.5748 GB, free: 4.027 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.6427, allocations: 4.625 kB / 0.5748 GB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.6428, allocations: 0 / 0.5748 GB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.6428, allocations: 4 kB / 0.5748 GB, free: 4.02 MB / 394.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 () * Number of clocked 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 0.0003429/0.6432, allocations: 209.8 kB / 0.575 GB, free: 3.805 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.6433, allocations: 35.53 kB / 0.575 GB, free: 3.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003568/0.6437, allocations: 116.6 kB / 0.5751 GB, free: 3.648 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.6437, allocations: 0 / 0.5751 GB, free: 3.648 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.6437, allocations: 11.64 kB / 0.5751 GB, free: 3.641 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.6438, allocations: 0 / 0.5751 GB, free: 3.641 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005611/0.6443, allocations: 333.3 kB / 0.5754 GB, free: 3.266 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.6443, allocations: 0 / 0.5754 GB, free: 3.266 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.184e-05/0.6444, allocations: 8 kB / 0.5754 GB, free: 3.258 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.6445, allocations: 3.938 kB / 0.5754 GB, free: 3.254 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.6445, allocations: 0 / 0.5754 GB, free: 3.254 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.6445, allocations: 8.016 kB / 0.5755 GB, free: 3.246 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.6445, allocations: 0.9375 kB / 0.5755 GB, free: 3.246 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003972/0.6449, allocations: 195 kB / 0.5756 GB, free: 3.039 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002969/0.6452, allocations: 164.5 kB / 0.5758 GB, free: 2.859 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.999e-05/0.6453, allocations: 0 / 0.5758 GB, free: 2.859 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.6454, allocations: 8.031 kB / 0.5758 GB, free: 2.852 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.6455, allocations: 0 / 0.5758 GB, free: 2.852 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.6455, allocations: 4 kB / 0.5758 GB, free: 2.848 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001231/0.6467, allocations: 0.6432 MB / 0.5764 GB, free: 2.207 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.6468, allocations: 4 kB / 0.5764 GB, free: 2.203 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004481/0.6472, allocations: 47.94 kB / 0.5765 GB, free: 2.156 MB / 394.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 () * Number of clocked 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.00104/0.6483, allocations: 355.3 kB / 0.5768 GB, free: 1.898 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002501/0.6486, allocations: 23.98 kB / 0.5769 GB, free: 1.875 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.6486, allocations: 0 / 0.5769 GB, free: 1.875 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.926e-05/0.6487, allocations: 23.98 kB / 0.5769 GB, free: 1.852 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.6491, allocations: 21.91 kB / 0.5769 GB, free: 1.832 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002157/0.6513, allocations: 0.9404 MB / 0.5778 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006611/0.652, allocations: 0.8262 MB / 0.5786 GB, free: 12 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.6522, allocations: 19.69 kB / 0.5786 GB, free: 16 MB / 410.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6522, allocations: 0 / 0.5786 GB, free: 16 MB / 410.7 MB Notification: Performance of Templates: time 0.01193/0.6641, allocations: 4.045 MB / 0.5826 GB, free: 11.94 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches