Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19") translateModel(ModelicaTest.Tables.CombiTable2D.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009995/0.0009995, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.482/1.482, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.000739/0.0007391, allocations: 84.75 kB / 271.9 MB, free: 8.258 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.3215/0.3215, allocations: 43.56 MB / 363.8 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003394, allocations: 16 kB / 432.6 MB, free: 5.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09921/0.09957, allocations: 58.85 MB / 491.5 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2551/0.3547, allocations: 88.46 MB / 0.5663 GB, free: 13.95 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001992/0.3549, allocations: 75.95 kB / 0.5664 GB, free: 13.88 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01994/0.3749, allocations: 8.25 MB / 0.5745 GB, free: 5.668 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3749, allocations: 4 kB / 0.5745 GB, free: 5.664 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.722e-05/0.3749, allocations: 11.94 kB / 0.5745 GB, free: 5.652 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000671/0.3756, allocations: 0.6066 MB / 0.5751 GB, free: 4.996 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.3757, allocations: 8.031 kB / 0.5751 GB, free: 4.988 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.191e-05/0.3757, allocations: 36.47 kB / 0.5751 GB, free: 4.953 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004213/0.3761, allocations: 342.2 kB / 0.5754 GB, free: 4.578 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.3762, allocations: 8.375 kB / 0.5754 GB, free: 4.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.3762, allocations: 4.375 kB / 0.5754 GB, free: 4.566 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.3764, allocations: 84.55 kB / 0.5755 GB, free: 4.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3764, allocations: 4.188 kB / 0.5755 GB, free: 4.477 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.3764, allocations: 15.81 kB / 0.5755 GB, free: 4.461 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3764, allocations: 4 kB / 0.5755 GB, free: 4.457 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.3766, allocations: 47.97 kB / 0.5756 GB, free: 4.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005445/0.3771, allocations: 456.4 kB / 0.576 GB, free: 3.914 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.3772, allocations: 62.55 kB / 0.5761 GB, free: 3.844 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.986e-05/0.3773, allocations: 32.97 kB / 0.5761 GB, free: 3.809 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.3773, allocations: 3.984 kB / 0.5761 GB, free: 3.805 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.3774, allocations: 38.56 kB / 0.5762 GB, free: 3.758 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.3774, allocations: 0 / 0.5762 GB, free: 3.758 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002947/0.3777, allocations: 137.1 kB / 0.5763 GB, free: 3.617 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.3777, allocations: 55.39 kB / 0.5763 GB, free: 3.551 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000578/0.3783, allocations: 0.5254 MB / 0.5769 GB, free: 3.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.3783, allocations: 25.7 kB / 0.5769 GB, free: 2.988 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.3785, allocations: 203.9 kB / 0.5771 GB, free: 2.785 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.3785, allocations: 23.66 kB / 0.5771 GB, free: 2.762 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-06/0.3785, allocations: 4 kB / 0.5771 GB, free: 2.758 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.3787, allocations: 350.8 kB / 0.5774 GB, free: 2.406 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.904e-05/0.3788, allocations: 19.98 kB / 0.5775 GB, free: 2.387 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.542e-05/0.3788, allocations: 19.98 kB / 0.5775 GB, free: 2.367 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.3789, allocations: 48.84 kB / 0.5775 GB, free: 2.316 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3789, allocations: 0 / 0.5775 GB, free: 2.316 MB / 394.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001838/0.3791, allocations: 117.2 kB / 0.5776 GB, free: 2.195 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.3791, allocations: 8 kB / 0.5776 GB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.3791, allocations: 0 / 0.5776 GB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.3792, allocations: 0 / 0.5776 GB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.772e-05/0.3792, allocations: 15.98 kB / 0.5777 GB, free: 2.172 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3793, allocations: 0 / 0.5777 GB, free: 2.172 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.677e-05/0.3793, allocations: 11.84 kB / 0.5777 GB, free: 2.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.3793, allocations: 8 kB / 0.5777 GB, free: 2.152 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 (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 0.0001293/0.3795, allocations: 161.8 kB / 0.5778 GB, free: 1.984 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.584e-05/0.3796, allocations: 31.62 kB / 0.5779 GB, free: 1.953 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002424/0.3798, allocations: 144.8 kB / 0.578 GB, free: 1.801 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3798, allocations: 0 / 0.578 GB, free: 1.801 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3798, allocations: 0 / 0.578 GB, free: 1.801 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-06/0.3798, allocations: 7.938 kB / 0.578 GB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002788/0.3801, allocations: 301.4 kB / 0.5783 GB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3801, allocations: 0.5 kB / 0.5783 GB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.334e-05/0.3802, allocations: 12 kB / 0.5783 GB, free: 1.438 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3802, allocations: 0 / 0.5783 GB, free: 1.438 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.3802, allocations: 8 kB / 0.5783 GB, free: 1.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3802, allocations: 0 / 0.5783 GB, free: 1.43 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3802, allocations: 0 / 0.5783 GB, free: 1.43 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.3804, allocations: 226.9 kB / 0.5785 GB, free: 1.191 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.3806, allocations: 136.7 kB / 0.5787 GB, free: 1.039 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.269e-05/0.3806, allocations: 4 kB / 0.5787 GB, free: 1.035 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.852e-05/0.3807, allocations: 4 kB / 0.5787 GB, free: 1.031 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.3808, allocations: 7.922 kB / 0.5787 GB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.3808, allocations: 4 kB / 0.5787 GB, free: 1.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004187/0.3812, allocations: 399.1 kB / 0.5791 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3812, allocations: 8 kB / 0.5791 GB, free: 0.625 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002919/0.3815, allocations: 51.84 kB / 0.5791 GB, free: 0.5742 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 (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.001228/0.3827, allocations: 0.5941 MB / 0.5797 GB, free: 88 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001601/0.3829, allocations: 59.91 kB / 0.5797 GB, free: 28 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3829, allocations: 0 / 0.5797 GB, free: 28 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.39e-05/0.383, allocations: 32.03 kB / 0.5798 GB, free: 15.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004408/0.3834, allocations: 60.59 kB / 0.5798 GB, free: 15.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008812/0.3843, allocations: 0.6648 MB / 0.5805 GB, free: 15.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.3847, allocations: 0.7829 MB / 0.5812 GB, free: 14.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.686e-05/0.3847, allocations: 39.36 kB / 0.5813 GB, free: 14.4 MB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/0.3847, allocations: 3.938 kB / 0.5813 GB, free: 14.39 MB / 410.7 MB Notification: Performance of Templates: time 0.005396/0.3901, allocations: 3.927 MB / 0.5851 GB, free: 10.46 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test19/Test19.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches