Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001587/0.001593, allocations: 187.8 kB / 16.4 MB, free: 5.625 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.476/2.476, allocations: 205.4 MB / 222.5 MB, free: 13.77 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.00129/0.00129, allocations: 98.8 kB / 270.9 MB, free: 13.29 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.3765/0.3765, allocations: 43.55 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006267/0.000627, allocations: 12 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1215, allocations: 58.86 MB / 490.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003201/0.1248, allocations: 1.661 MB / 491.9 MB, free: 7.668 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00239/0.1272, allocations: 0.914 MB / 492.8 MB, free: 6.746 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.1274, allocations: 0 / 492.8 MB, free: 6.746 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000292/0.1277, allocations: 43.7 kB / 492.8 MB, free: 6.703 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004532/0.1282, allocations: 143.6 kB / 493 MB, free: 6.562 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002023/0.1302, allocations: 0.5107 MB / 493.5 MB, free: 6.051 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005341/0.1308, allocations: 199.5 kB / 493.7 MB, free: 5.855 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.131, allocations: 68.77 kB / 493.8 MB, free: 5.789 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002579/0.1313, allocations: 111.5 kB / 493.9 MB, free: 5.68 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003238/0.1316, allocations: 147.5 kB / 494 MB, free: 5.535 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.764e-05/0.1317, allocations: 11.94 kB / 494 MB, free: 5.523 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.1318, allocations: 31.91 kB / 494 MB, free: 5.492 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000206/0.1321, allocations: 131.6 kB / 494.2 MB, free: 5.363 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.963e-05/0.1322, allocations: 85.39 kB / 494.3 MB, free: 5.273 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004762/0.1327, allocations: 279.5 kB / 494.5 MB, free: 5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1327, allocations: 0 / 494.5 MB, free: 5 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1327, allocations: 0 / 494.5 MB, free: 5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.1327, allocations: 4 kB / 494.5 MB, free: 4.996 MB / 330.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.001601/0.1343, allocations: 0.7348 MB / 495.3 MB, free: 4.211 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.1344, allocations: 8.031 kB / 495.3 MB, free: 4.203 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.1345, allocations: 59.2 kB / 495.3 MB, free: 4.145 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009491/0.1355, allocations: 454.9 kB / 495.8 MB, free: 3.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.1355, allocations: 8 kB / 495.8 MB, free: 3.652 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.904e-05/0.1356, allocations: 8 kB / 495.8 MB, free: 3.645 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005725/0.1362, allocations: 163.3 kB / 496 MB, free: 3.473 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.1362, allocations: 0 / 496 MB, free: 3.473 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.1363, allocations: 4 kB / 496 MB, free: 3.469 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1363, allocations: 4 kB / 496 MB, free: 3.465 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005908/0.1369, allocations: 139.8 kB / 496.1 MB, free: 3.328 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001752/0.1387, allocations: 0.7346 MB / 496.8 MB, free: 2.539 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004918/0.1392, allocations: 141.2 kB / 497 MB, free: 2.383 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.41e-05/0.1393, allocations: 7.938 kB / 497 MB, free: 2.375 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.1393, allocations: 38.69 kB / 497 MB, free: 2.328 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 2.765e-06/0.1393, allocations: 0 / 497 MB, free: 2.328 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.003828/0.1432, allocations: 0.8101 MB / 497.8 MB, free: 1.508 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.99e-05/0.1433, allocations: 85.05 kB / 497.9 MB, free: 1.406 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/0.145, allocations: 0.8867 MB / 498.8 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.396e-05/0.1451, allocations: 33.7 kB / 498.8 MB, free: 484 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002654/0.1454, allocations: 274.7 kB / 499.1 MB, free: 208 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.1455, allocations: 63.02 kB / 499.2 MB, free: 144 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-05/0.1456, allocations: 4 kB / 499.2 MB, free: 140 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.1457, allocations: 318.8 kB / 499.5 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006197/0.1464, allocations: 123.9 kB / 499.6 MB, free: 15.7 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005798/0.147, allocations: 145.6 kB / 499.7 MB, free: 15.55 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005825/0.1476, allocations: 131.9 kB / 499.9 MB, free: 15.42 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1476, allocations: 0 / 499.9 MB, free: 15.42 MB / 346.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001298/0.1489, allocations: 321.7 kB / 0.4885 GB, free: 15.1 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.1489, allocations: 15.44 kB / 0.4885 GB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.149, allocations: 3.984 kB / 0.4885 GB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.149, allocations: 4.047 kB / 0.4885 GB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000545/0.1495, allocations: 67.83 kB / 0.4885 GB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.1496, allocations: 0 / 0.4885 GB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004738/0.1501, allocations: 43.81 kB / 0.4886 GB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/0.1501, allocations: 8 kB / 0.4886 GB, free: 14.96 MB / 346.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 (20): * Single equations (assignments): 20 * 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.0003728/0.1505, allocations: 217.8 kB / 0.4888 GB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/0.1507, allocations: 55.34 kB / 0.4889 GB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001602/0.1523, allocations: 435 kB / 0.4893 GB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.1523, allocations: 4 kB / 0.4893 GB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.1523, allocations: 7.891 kB / 0.4893 GB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.1524, allocations: 3.984 kB / 0.4893 GB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002613/0.155, allocations: 0.9815 MB / 0.4902 GB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.155, allocations: 3.938 kB / 0.4902 GB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005092/0.1555, allocations: 63.91 kB / 0.4903 GB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/0.1556, allocations: 4 kB / 0.4903 GB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.081e-05/0.1556, allocations: 7.984 kB / 0.4903 GB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.316e-06/0.1556, allocations: 4 kB / 0.4903 GB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.1557, allocations: 0 / 0.4903 GB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/0.1572, allocations: 0.543 MB / 0.4909 GB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002578/0.1575, allocations: 160.2 kB / 0.491 GB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.374e-05/0.1576, allocations: 11.95 kB / 0.491 GB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004868/0.1581, allocations: 31.98 kB / 0.4911 GB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.1582, allocations: 15.97 kB / 0.4911 GB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.408e-05/0.1583, allocations: 7.984 kB / 0.4911 GB, free: 12.3 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00122/0.1595, allocations: 0.6513 MB / 0.4917 GB, free: 11.66 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.71e-07/0.1595, allocations: 0 / 0.4917 GB, free: 11.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006474/0.1602, allocations: 60 kB / 0.4918 GB, free: 11.6 MB / 346.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 (20): * Single equations (assignments): 20 * 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.001236/0.1614, allocations: 409.9 kB / 0.4922 GB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001351/0.1628, allocations: 295.7 kB / 0.4924 GB, free: 10.96 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.1628, allocations: 4 kB / 0.4924 GB, free: 10.95 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006401/0.1635, allocations: 159.8 kB / 0.4926 GB, free: 10.8 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007686/0.1643, allocations: 74.89 kB / 0.4927 GB, free: 10.72 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.1668, allocations: 1.083 MB / 0.4937 GB, free: 9.605 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006558/0.1675, allocations: 0.893 MB / 0.4946 GB, free: 8.688 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003036/0.1678, allocations: 51.39 kB / 0.4946 GB, free: 8.637 MB / 346.7 MB Notification: Performance of SimCode: time 1.192e-06/0.1679, allocations: 0 / 0.4946 GB, free: 8.637 MB / 346.7 MB Notification: Performance of Templates: time 0.01588/0.1838, allocations: 6.155 MB / 0.5007 GB, free: 2.477 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches