Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22") translateModel(ModelicaTest.Tables.CombiTable2D.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001393/0.001393, allocations: 181.3 kB / 17.41 MB, free: 4.289 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.28/1.28, 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.0007514/0.0007514, allocations: 89.42 kB / 271.9 MB, free: 8.277 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.2956/0.2956, allocations: 43.56 MB / 363.8 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003386, allocations: 12 kB / 432.6 MB, free: 5.676 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1028, allocations: 58.85 MB / 491.4 MB, free: 10.74 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2921/0.3949, allocations: 88.08 MB / 0.5659 GB, free: 14.24 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001928/0.3952, allocations: 79.95 kB / 0.566 GB, free: 14.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02383/0.419, allocations: 8.41 MB / 0.5742 GB, free: 5.789 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.4191, allocations: 0 / 0.5742 GB, free: 5.789 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.265e-05/0.4192, allocations: 15.98 kB / 0.5742 GB, free: 5.773 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001671/0.4209, allocations: 0.7242 MB / 0.575 GB, free: 5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.4209, allocations: 12.03 kB / 0.575 GB, free: 4.988 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001881/0.4211, allocations: 52.28 kB / 0.575 GB, free: 4.938 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.4222, allocations: 499.7 kB / 0.5755 GB, free: 4.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.4222, allocations: 12.31 kB / 0.5755 GB, free: 4.398 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.658e-05/0.4223, allocations: 16.31 kB / 0.5755 GB, free: 4.383 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003592/0.4227, allocations: 124.9 kB / 0.5756 GB, free: 4.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.4227, allocations: 192 / 0.5756 GB, free: 4.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/0.4227, allocations: 11.94 kB / 0.5756 GB, free: 4.238 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.4228, allocations: 0 / 0.5756 GB, free: 4.238 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003128/0.4231, allocations: 95.88 kB / 0.5757 GB, free: 4.145 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/0.4245, allocations: 0.7033 MB / 0.5764 GB, free: 3.387 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.4248, allocations: 109.2 kB / 0.5765 GB, free: 3.262 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.425, allocations: 49.81 kB / 0.5766 GB, free: 3.207 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.524e-05/0.425, allocations: 4 kB / 0.5766 GB, free: 3.203 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.4251, allocations: 34.56 kB / 0.5766 GB, free: 3.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.763e-06/0.4251, allocations: 0 / 0.5766 GB, free: 3.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001946/0.427, allocations: 0.5449 MB / 0.5771 GB, free: 2.605 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/0.4271, allocations: 77.11 kB / 0.5772 GB, free: 2.512 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001623/0.4287, allocations: 0.8545 MB / 0.5781 GB, free: 1.648 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.4288, allocations: 29.7 kB / 0.5781 GB, free: 1.613 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/0.429, allocations: 252.5 kB / 0.5783 GB, free: 1.359 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.026e-05/0.4291, allocations: 59.19 kB / 0.5784 GB, free: 1.301 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.326e-05/0.4291, allocations: 3.938 kB / 0.5784 GB, free: 1.297 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.4293, allocations: 374.7 kB / 0.5787 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.4296, allocations: 59.97 kB / 0.5788 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.4298, allocations: 82.23 kB / 0.5789 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004551/0.4303, allocations: 153.8 kB / 0.579 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.4303, allocations: 0 / 0.579 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006749/0.431, allocations: 244.8 kB / 0.5793 GB, free: 384 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.431, allocations: 4 kB / 0.5793 GB, free: 380 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.431, allocations: 0 / 0.5793 GB, free: 380 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.4311, allocations: 0.75 kB / 0.5793 GB, free: 380 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.4313, allocations: 39.97 kB / 0.5793 GB, free: 340 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.4314, allocations: 11.98 kB / 0.5793 GB, free: 328 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.4316, allocations: 19.94 kB / 0.5793 GB, free: 308 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.563e-05/0.4316, allocations: 7.984 kB / 0.5793 GB, free: 300 kB / 394.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.0002833/0.4319, allocations: 201.8 kB / 0.5795 GB, free: 88 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.4321, allocations: 59.28 kB / 0.5796 GB, free: 28 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007916/0.4329, allocations: 282.1 kB / 0.5799 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.4329, allocations: 12 kB / 0.5799 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.4329, allocations: 0 / 0.5799 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.4329, allocations: 0 / 0.5799 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/0.4346, allocations: 0.8605 MB / 0.5807 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.4346, allocations: 0 / 0.5807 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.4348, allocations: 43.91 kB / 0.5808 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.4349, allocations: 3.938 kB / 0.5808 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/0.4349, allocations: 12 kB / 0.5808 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.4349, allocations: 3.984 kB / 0.5808 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4349, allocations: 0 / 0.5808 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000708/0.4356, allocations: 419.2 kB / 0.5812 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002611/0.4359, allocations: 176.4 kB / 0.5813 GB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.468e-05/0.436, allocations: 8 kB / 0.5813 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002695/0.4363, allocations: 15.98 kB / 0.5814 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.977e-05/0.4364, allocations: 15.98 kB / 0.5814 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.4364, allocations: 11.92 kB / 0.5814 GB, free: 14.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001103/0.4375, allocations: 0.6276 MB / 0.582 GB, free: 13.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.4375, allocations: 3.938 kB / 0.582 GB, free: 13.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005646/0.4381, allocations: 71.94 kB / 0.5821 GB, free: 13.38 MB / 410.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.001174/0.4393, allocations: 424.2 kB / 0.5825 GB, free: 13.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005214/0.4398, allocations: 155.9 kB / 0.5826 GB, free: 12.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4398, allocations: 0 / 0.5826 GB, free: 12.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002379/0.4401, allocations: 87.89 kB / 0.5827 GB, free: 12.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008484/0.4409, allocations: 73.86 kB / 0.5828 GB, free: 12.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.4429, allocations: 1.011 MB / 0.5838 GB, free: 11.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005464/0.4434, allocations: 0.8577 MB / 0.5846 GB, free: 10.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/0.4436, allocations: 47.41 kB / 0.5847 GB, free: 10.78 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4436, allocations: 0 / 0.5847 GB, free: 10.78 MB / 410.7 MB Notification: Performance of Templates: time 0.01151/0.4552, allocations: 5.803 MB / 0.5903 GB, free: 4.977 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test22/Test22.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches