Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002053/0.002052, 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 1.987/1.987, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001124/0.001124, 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.3297/0.3297, allocations: 43.48 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.469e-05/2.47e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4227/0.4227, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1646/0.5874, allocations: 88.05 MB / 0.5519 GB, free: 11.26 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/0.5878, allocations: 71.95 kB / 0.552 GB, free: 11.19 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03544/0.6232, allocations: 8.371 MB / 0.5601 GB, free: 2.805 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.6233, allocations: 0 / 0.5601 GB, free: 2.805 MB / 395.1 MB Notification: Performance of Transformations before backend: time 4.612e-05/0.6234, allocations: 8 kB / 0.5601 GB, free: 2.797 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007487/0.6241, allocations: 0.5326 MB / 0.5607 GB, free: 2.219 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.6242, allocations: 8.031 kB / 0.5607 GB, free: 2.211 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/0.6243, allocations: 43.42 kB / 0.5607 GB, free: 2.168 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007639/0.6251, allocations: 339.4 kB / 0.561 GB, free: 1.797 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.6251, allocations: 4 kB / 0.561 GB, free: 1.793 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.6252, allocations: 4 kB / 0.561 GB, free: 1.789 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002044/0.6254, allocations: 51.98 kB / 0.5611 GB, free: 1.738 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.6256, allocations: 89.53 kB / 0.5612 GB, free: 1.645 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.6256, allocations: 0 / 0.5612 GB, free: 1.645 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.6256, allocations: 0 / 0.5612 GB, free: 1.645 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.6257, allocations: 3.953 kB / 0.5612 GB, free: 1.641 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009492/0.6266, allocations: 453.1 kB / 0.5616 GB, free: 1.16 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.6268, allocations: 66.5 kB / 0.5617 GB, free: 1.086 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.035e-05/0.6269, allocations: 36.92 kB / 0.5617 GB, free: 1.047 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/0.6269, allocations: 7.984 kB / 0.5617 GB, free: 1.039 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.627, allocations: 30.81 kB / 0.5617 GB, free: 1 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 1.763e-06/0.627, allocations: 0 / 0.5617 GB, free: 1 MB / 395.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003375/0.6273, allocations: 113.2 kB / 0.5619 GB, free: 0.8828 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.6274, allocations: 55.41 kB / 0.5619 GB, free: 0.8164 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008631/0.6282, allocations: 485.1 kB / 0.5624 GB, free: 348 kB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.6283, allocations: 25.7 kB / 0.5624 GB, free: 316 kB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001833/0.6285, allocations: 234.7 kB / 0.5626 GB, free: 76 kB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.6285, allocations: 11.81 kB / 0.5626 GB, free: 64 kB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-06/0.6286, allocations: 3.938 kB / 0.5626 GB, free: 60 kB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.6287, allocations: 318.8 kB / 0.5629 GB, free: 15.74 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.615e-05/0.6288, allocations: 16 kB / 0.563 GB, free: 15.72 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.833e-05/0.6289, allocations: 23.98 kB / 0.563 GB, free: 15.7 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.068e-05/0.629, allocations: 27.98 kB / 0.563 GB, free: 15.67 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.629, allocations: 0 / 0.563 GB, free: 15.67 MB / 411.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001967/0.6292, allocations: 77.67 kB / 0.5631 GB, free: 15.59 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.6292, allocations: 7.953 kB / 0.5631 GB, free: 15.58 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.6292, allocations: 0 / 0.5631 GB, free: 15.58 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.6293, allocations: 0 / 0.5631 GB, free: 15.58 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.6294, allocations: 19.98 kB / 0.5631 GB, free: 15.56 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.6294, allocations: 0 / 0.5631 GB, free: 15.56 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.6296, allocations: 11.84 kB / 0.5631 GB, free: 15.55 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.6296, allocations: 8 kB / 0.5631 GB, free: 15.54 MB / 411.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 (6): * Single equations (assignments): 6 * 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.662e-05/0.6297, allocations: 108.9 kB / 0.5632 GB, free: 15.43 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.6298, allocations: 35.53 kB / 0.5633 GB, free: 15.39 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003684/0.6302, allocations: 141 kB / 0.5634 GB, free: 15.25 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.6302, allocations: 0 / 0.5634 GB, free: 15.25 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.6302, allocations: 0 / 0.5634 GB, free: 15.25 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.6303, allocations: 0 / 0.5634 GB, free: 15.25 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004347/0.6307, allocations: 278.1 kB / 0.5637 GB, free: 14.94 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.6307, allocations: 4 kB / 0.5637 GB, free: 14.94 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.6308, allocations: 15.98 kB / 0.5637 GB, free: 14.92 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.6309, allocations: 0 / 0.5637 GB, free: 14.92 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.6309, allocations: 320 / 0.5637 GB, free: 14.92 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.6309, allocations: 0 / 0.5637 GB, free: 14.92 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/0.6309, allocations: 11.89 kB / 0.5637 GB, free: 14.91 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.6312, allocations: 211 kB / 0.5639 GB, free: 14.69 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002199/0.6315, allocations: 144.6 kB / 0.564 GB, free: 14.53 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.702e-05/0.6316, allocations: 8 kB / 0.564 GB, free: 14.52 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.6317, allocations: 4 kB / 0.564 GB, free: 14.52 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.483e-05/0.6318, allocations: 7.922 kB / 0.564 GB, free: 14.51 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.6318, allocations: 7.953 kB / 0.5641 GB, free: 14.5 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0006562/0.6325, allocations: 382.9 kB / 0.5644 GB, free: 14.13 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6325, allocations: 0 / 0.5644 GB, free: 14.13 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.000467/0.6329, allocations: 47.84 kB / 0.5645 GB, free: 14.08 MB / 411.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 (6): * Single equations (assignments): 6 * 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.001479/0.6344, allocations: 0.4958 MB / 0.565 GB, free: 13.63 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.6346, allocations: 51.97 kB / 0.565 GB, free: 13.58 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6347, allocations: 0 / 0.565 GB, free: 13.58 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 7.123e-05/0.6348, allocations: 28 kB / 0.565 GB, free: 13.55 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006157/0.6354, allocations: 68.77 kB / 0.5651 GB, free: 13.49 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.6367, allocations: 0.5086 MB / 0.5656 GB, free: 12.95 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005366/0.6372, allocations: 0.8099 MB / 0.5664 GB, free: 12.11 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.6374, allocations: 35.36 kB / 0.5664 GB, free: 12.08 MB / 411.1 MB Notification: Performance of SimCode: time 9.11e-07/0.6374, allocations: 4 kB / 0.5664 GB, free: 12.07 MB / 411.1 MB Notification: Performance of Templates: time 0.0108/0.6482, allocations: 4.127 MB / 0.5704 GB, free: 7.938 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches