Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002246/0.002246, allocations: 182 kB / 16.4 MB, free: 5.746 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.034/2.034, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001168/0.001168, allocations: 89.23 kB / 270.9 MB, free: 8.367 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.5105/0.5105, allocations: 43.55 MB / 362.7 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000491/0.0004912, allocations: 12 kB / 431.4 MB, free: 6.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1356, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003206/0.1388, allocations: 1.605 MB / 491.8 MB, free: 9.625 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002538/0.1414, allocations: 0.9021 MB / 492.7 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/0.1416, allocations: 0 / 492.7 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002901/0.142, allocations: 35.77 kB / 492.8 MB, free: 8.68 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004644/0.1424, allocations: 147.5 kB / 492.9 MB, free: 8.535 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002149/0.1446, allocations: 0.4991 MB / 493.4 MB, free: 8.035 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005654/0.1452, allocations: 183.6 kB / 493.6 MB, free: 7.855 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002279/0.1454, allocations: 68.67 kB / 493.6 MB, free: 7.789 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002671/0.1457, allocations: 99.58 kB / 493.7 MB, free: 7.691 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003071/0.146, allocations: 139.5 kB / 493.9 MB, free: 7.555 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.812e-05/0.1461, allocations: 8 kB / 493.9 MB, free: 7.547 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.1463, allocations: 27.92 kB / 493.9 MB, free: 7.52 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002138/0.1465, allocations: 127.6 kB / 494 MB, free: 7.395 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.505e-05/0.1466, allocations: 77.45 kB / 494.1 MB, free: 7.312 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004792/0.1471, allocations: 279.4 kB / 494.4 MB, free: 7.039 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1471, allocations: 0 / 494.4 MB, free: 7.039 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1471, allocations: 0 / 494.4 MB, free: 7.039 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1471, allocations: 4 kB / 494.4 MB, free: 7.035 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001473/0.1486, allocations: 0.7076 MB / 495.1 MB, free: 6.277 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.1487, allocations: 8.031 kB / 495.1 MB, free: 6.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001341/0.1488, allocations: 55.25 kB / 495.2 MB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000956/0.1498, allocations: 439 kB / 495.6 MB, free: 5.746 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.1499, allocations: 8 kB / 495.6 MB, free: 5.738 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.904e-05/0.1499, allocations: 8 kB / 495.6 MB, free: 5.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004869/0.1504, allocations: 151.2 kB / 495.8 MB, free: 5.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.1504, allocations: 4 kB / 495.8 MB, free: 5.566 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.1505, allocations: 4 kB / 495.8 MB, free: 5.562 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.1505, allocations: 7.953 kB / 495.8 MB, free: 5.555 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004224/0.1509, allocations: 99.92 kB / 495.9 MB, free: 5.457 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.1526, allocations: 0.7072 MB / 496.6 MB, free: 4.695 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003906/0.153, allocations: 117.2 kB / 496.7 MB, free: 4.562 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.33e-05/0.1531, allocations: 4 kB / 496.7 MB, free: 4.559 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.1531, allocations: 38.67 kB / 496.7 MB, free: 4.512 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 5.25e-06/0.1531, allocations: 0 / 496.7 MB, free: 4.512 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.002728/0.1559, allocations: 0.5684 MB / 497.3 MB, free: 3.934 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.525e-05/0.156, allocations: 89 kB / 497.4 MB, free: 3.828 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001829/0.1579, allocations: 0.8857 MB / 498.3 MB, free: 2.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.077e-05/0.158, allocations: 25.7 kB / 498.3 MB, free: 2.898 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002712/0.1582, allocations: 274.7 kB / 498.6 MB, free: 2.625 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.783e-05/0.1583, allocations: 59.12 kB / 498.6 MB, free: 2.566 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.466e-05/0.1584, allocations: 0 / 498.6 MB, free: 2.566 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1585, allocations: 322.8 kB / 498.9 MB, free: 2.242 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003545/0.1589, allocations: 68.17 kB / 499 MB, free: 2.176 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/0.1593, allocations: 89.67 kB / 499.1 MB, free: 2.082 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003564/0.1596, allocations: 79.89 kB / 499.2 MB, free: 2.004 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1597, allocations: 4 kB / 499.2 MB, free: 2 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0008315/0.1605, allocations: 205.5 kB / 499.4 MB, free: 1.793 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.1605, allocations: 8 kB / 499.4 MB, free: 1.785 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1605, allocations: 0 / 499.4 MB, free: 1.785 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.1606, allocations: 7.984 kB / 499.4 MB, free: 1.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003733/0.161, allocations: 39.97 kB / 499.4 MB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.161, allocations: 3.953 kB / 499.4 MB, free: 1.734 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000328/0.1613, allocations: 16 kB / 499.4 MB, free: 1.719 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.1614, allocations: 7.984 kB / 499.5 MB, free: 1.711 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.000365/0.1617, allocations: 217.7 kB / 499.7 MB, free: 1.488 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.1619, allocations: 55.25 kB / 499.7 MB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/0.163, allocations: 311.1 kB / 0.4883 GB, free: 1.117 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.163, allocations: 0 / 0.4883 GB, free: 1.117 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.1631, allocations: 4 kB / 0.4883 GB, free: 1.113 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.1631, allocations: 7.953 kB / 0.4883 GB, free: 1.105 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001956/0.165, allocations: 0.8138 MB / 0.4891 GB, free: 240 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.1651, allocations: 8 kB / 0.4891 GB, free: 232 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000329/0.1654, allocations: 39.91 kB / 0.4892 GB, free: 192 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.1655, allocations: 4 kB / 0.4892 GB, free: 188 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.1655, allocations: 3.953 kB / 0.4892 GB, free: 184 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.1655, allocations: 4 kB / 0.4892 GB, free: 180 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1655, allocations: 0 / 0.4892 GB, free: 180 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3294/0.4949, allocations: 449.5 kB / 0.4896 GB, free: 42.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002449/0.4952, allocations: 153.2 kB / 0.4897 GB, free: 42.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.109e-05/0.4953, allocations: 4.188 kB / 0.4897 GB, free: 42.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003476/0.4956, allocations: 22.41 kB / 0.4898 GB, free: 42.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.386e-05/0.4957, allocations: 14.83 kB / 0.4898 GB, free: 42.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.669e-05/0.4958, allocations: 9.688 kB / 0.4898 GB, free: 42.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001246/0.497, allocations: 0.6413 MB / 0.4904 GB, free: 42.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4971, allocations: 1.062 kB / 0.4904 GB, free: 42.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005806/0.4977, allocations: 52.81 kB / 0.4905 GB, free: 42.8 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.001147/0.4988, allocations: 419.4 kB / 0.4909 GB, free: 42.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000836/0.4997, allocations: 177.6 kB / 0.491 GB, free: 42.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.4997, allocations: 1.156 kB / 0.491 GB, free: 42.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003673/0.5001, allocations: 98.47 kB / 0.4911 GB, free: 42.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000801/0.5009, allocations: 63.55 kB / 0.4912 GB, free: 42.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00221/0.5031, allocations: 1.018 MB / 0.4922 GB, free: 42.17 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005357/0.5037, allocations: 0.8704 MB / 0.493 GB, free: 41.47 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000251/0.504, allocations: 48.97 kB / 0.4931 GB, free: 41.46 MB / 378.7 MB Notification: Performance of SimCode: time 1.212e-06/0.504, allocations: 2.734 kB / 0.4931 GB, free: 41.46 MB / 378.7 MB Notification: Performance of Templates: time 0.01558/0.5196, allocations: 5.676 MB / 0.4986 GB, free: 40.93 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches