Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,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.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,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.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00245/0.00245, allocations: 186.3 kB / 16.41 MB, free: 5.727 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.948/1.948, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001124/0.001124, allocations: 95.28 kB / 270.9 MB, free: 8.363 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.5168/0.5168, allocations: 43.55 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004735/0.0004736, allocations: 16 kB / 431.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1227, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4609/0.5836, allocations: 88.97 MB / 0.5656 GB, free: 13.73 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/0.584, allocations: 71.97 kB / 0.5657 GB, free: 13.66 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03682/0.6208, allocations: 8.606 MB / 0.5741 GB, free: 5.098 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.228e-06/0.6209, allocations: 0 / 0.5741 GB, free: 5.098 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.175e-05/0.6209, allocations: 16.16 kB / 0.5741 GB, free: 5.082 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001183/0.6221, allocations: 0.6376 MB / 0.5747 GB, free: 4.402 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.6222, allocations: 12.03 kB / 0.5747 GB, free: 4.391 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.6223, allocations: 39.53 kB / 0.5748 GB, free: 4.352 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007843/0.6231, allocations: 349.2 kB / 0.5751 GB, free: 3.969 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.6232, allocations: 12 kB / 0.5751 GB, free: 3.957 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.645e-05/0.6232, allocations: 15.91 kB / 0.5751 GB, free: 3.941 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003872/0.6236, allocations: 116.7 kB / 0.5752 GB, free: 3.824 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.6237, allocations: 1.031 kB / 0.5752 GB, free: 3.824 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.6237, allocations: 8 kB / 0.5753 GB, free: 3.816 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.6237, allocations: 0 / 0.5753 GB, free: 3.816 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003122/0.624, allocations: 95.83 kB / 0.5753 GB, free: 3.723 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.6251, allocations: 0.5393 MB / 0.5759 GB, free: 3.133 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003222/0.6255, allocations: 110.5 kB / 0.576 GB, free: 3.016 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.764e-05/0.6255, allocations: 7.984 kB / 0.576 GB, free: 3.008 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.6256, allocations: 30.78 kB / 0.576 GB, free: 2.969 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 2.103e-06/0.6256, allocations: 3.938 kB / 0.576 GB, free: 2.965 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001578/0.6272, allocations: 443.9 kB / 0.5764 GB, free: 2.523 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.6272, allocations: 55.41 kB / 0.5765 GB, free: 2.457 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009816/0.6282, allocations: 0.497 MB / 0.577 GB, free: 1.957 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.6283, allocations: 33.64 kB / 0.577 GB, free: 1.918 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.6284, allocations: 230.8 kB / 0.5772 GB, free: 1.691 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.796e-05/0.6285, allocations: 55.16 kB / 0.5773 GB, free: 1.637 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.879e-05/0.6286, allocations: 12 kB / 0.5773 GB, free: 1.625 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.6287, allocations: 314.8 kB / 0.5776 GB, free: 1.309 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/0.629, allocations: 67.95 kB / 0.5777 GB, free: 1.242 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002746/0.6292, allocations: 74.61 kB / 0.5777 GB, free: 1.172 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002599/0.6295, allocations: 79.91 kB / 0.5778 GB, free: 1.094 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.6295, allocations: 0 / 0.5778 GB, free: 1.094 MB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006222/0.6302, allocations: 205.4 kB / 0.578 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.6302, allocations: 6.812 kB / 0.578 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.6302, allocations: 4 kB / 0.578 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.6303, allocations: 0 / 0.578 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/0.6305, allocations: 43.92 kB / 0.5781 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.455e-06/0.6306, allocations: 0 / 0.5781 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.6308, allocations: 19.92 kB / 0.5781 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.6308, allocations: 4 kB / 0.5781 GB, free: 0.8125 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 (17): * Single equations (assignments): 17 * 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.0003035/0.6311, allocations: 185.7 kB / 0.5783 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.6313, allocations: 39.53 kB / 0.5783 GB, free: 0.582 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008845/0.6322, allocations: 293.3 kB / 0.5786 GB, free: 292 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.6322, allocations: 0 / 0.5786 GB, free: 292 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.6322, allocations: 0 / 0.5786 GB, free: 292 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.6322, allocations: 0 / 0.5786 GB, free: 292 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.6339, allocations: 0.7402 MB / 0.5793 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.6339, allocations: 0 / 0.5793 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/0.6342, allocations: 31.98 kB / 0.5793 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.094e-06/0.6342, allocations: 0 / 0.5793 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.6342, allocations: 11.98 kB / 0.5793 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.675e-06/0.6342, allocations: 3.953 kB / 0.5793 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6343, allocations: 7.875 kB / 0.5793 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007681/0.635, allocations: 337.6 kB / 0.5797 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002125/0.6353, allocations: 152.6 kB / 0.5798 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.234e-05/0.6353, allocations: 0 / 0.5798 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.6355, allocations: 12 kB / 0.5798 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.802e-05/0.6356, allocations: 15.94 kB / 0.5798 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.6357, allocations: 4 kB / 0.5798 GB, free: 14.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000786/0.6364, allocations: 403.1 kB / 0.5802 GB, free: 14.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.086e-06/0.6365, allocations: 0 / 0.5802 GB, free: 14.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005178/0.637, allocations: 79.86 kB / 0.5803 GB, free: 14.42 MB / 410.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 (17): * Single equations (assignments): 17 * 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.002127/0.6391, allocations: 0.7161 MB / 0.581 GB, free: 13.81 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006707/0.6398, allocations: 171.7 kB / 0.5812 GB, free: 13.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.6399, allocations: 0 / 0.5812 GB, free: 13.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002777/0.6402, allocations: 95.89 kB / 0.5813 GB, free: 13.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007017/0.6409, allocations: 69.47 kB / 0.5813 GB, free: 13.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.6427, allocations: 0.8182 MB / 0.5821 GB, free: 12.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005305/0.6433, allocations: 0.8262 MB / 0.5829 GB, free: 11.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001964/0.6435, allocations: 39.42 kB / 0.583 GB, free: 11.74 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6435, allocations: 0 / 0.583 GB, free: 11.74 MB / 410.7 MB Notification: Performance of Templates: time 0.01228/0.6558, allocations: 4.933 MB / 0.5878 GB, free: 6.809 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches