Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20") translateModel(ModelicaTest.Tables.CombiTable2D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002108/0.002108, allocations: 180.3 kB / 8.365 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.065/2.065, 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.001089/0.001089, allocations: 88.03 kB / 262.1 MB, free: 13.87 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.2878/0.2878, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.392e-05/3.334e-05, allocations: 4 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4087, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1674/0.5762, allocations: 87.83 MB / 0.5517 GB, free: 11.47 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/0.5765, allocations: 71.47 kB / 0.5517 GB, free: 11.4 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03718/0.6137, allocations: 8.315 MB / 0.5599 GB, free: 3.086 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6138, allocations: 7.938 kB / 0.5599 GB, free: 3.078 MB / 395.1 MB Notification: Performance of Transformations before backend: time 4.543e-05/0.6139, allocations: 8 kB / 0.5599 GB, free: 3.07 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008893/0.6148, allocations: 0.5443 MB / 0.5604 GB, free: 2.48 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.6148, allocations: 8.031 kB / 0.5604 GB, free: 2.473 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.615, allocations: 43.48 kB / 0.5605 GB, free: 2.43 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007612/0.6157, allocations: 347.3 kB / 0.5608 GB, free: 2.051 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.6158, allocations: 7.984 kB / 0.5608 GB, free: 2.043 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.927e-05/0.6158, allocations: 7.906 kB / 0.5608 GB, free: 2.035 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002032/0.616, allocations: 59.92 kB / 0.5609 GB, free: 1.977 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.6163, allocations: 84.52 kB / 0.5609 GB, free: 1.891 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.6163, allocations: 4 kB / 0.5609 GB, free: 1.887 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.6163, allocations: 0 / 0.5609 GB, free: 1.887 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.6163, allocations: 3.953 kB / 0.561 GB, free: 1.883 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.6174, allocations: 476.9 kB / 0.5614 GB, free: 1.379 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/0.6177, allocations: 74.55 kB / 0.5615 GB, free: 1.297 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.725e-05/0.6177, allocations: 29.08 kB / 0.5615 GB, free: 1.266 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.01e-05/0.6178, allocations: 11.86 kB / 0.5615 GB, free: 1.254 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.6178, allocations: 34.56 kB / 0.5615 GB, free: 1.211 MB / 395.1 MB Notification: Performance of pre-optimization done (n=11): time 2.735e-06/0.6178, allocations: 0 / 0.5615 GB, free: 1.211 MB / 395.1 MB Notification: Performance of matching and sorting (n=17): time 0.00116/0.619, allocations: 311.6 kB / 0.5618 GB, free: 0.9023 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.6191, allocations: 51.41 kB / 0.5619 GB, free: 0.8398 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009273/0.62, allocations: 473.2 kB / 0.5623 GB, free: 380 kB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.6201, allocations: 25.7 kB / 0.5624 GB, free: 348 kB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.6203, allocations: 238.8 kB / 0.5626 GB, free: 108 kB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.127e-05/0.6204, allocations: 55.19 kB / 0.5627 GB, free: 52 kB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-06/0.6204, allocations: 0 / 0.5627 GB, free: 52 kB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.6205, allocations: 322.7 kB / 0.563 GB, free: 15.73 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.6207, allocations: 36 kB / 0.563 GB, free: 15.69 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.6208, allocations: 40 kB / 0.563 GB, free: 15.65 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.6209, allocations: 47.88 kB / 0.5631 GB, free: 15.61 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.6209, allocations: 0 / 0.5631 GB, free: 15.61 MB / 411.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003571/0.6213, allocations: 137.5 kB / 0.5632 GB, free: 15.46 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.6213, allocations: 4 kB / 0.5632 GB, free: 15.46 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.6214, allocations: 0 / 0.5632 GB, free: 15.46 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.6214, allocations: 0 / 0.5632 GB, free: 15.46 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002876/0.6217, allocations: 35.92 kB / 0.5632 GB, free: 15.43 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.6217, allocations: 8 kB / 0.5633 GB, free: 15.42 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.6219, allocations: 7.984 kB / 0.5633 GB, free: 15.41 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.622, allocations: 4 kB / 0.5633 GB, free: 15.41 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 (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.0001073/0.6221, allocations: 108.9 kB / 0.5634 GB, free: 15.29 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.6222, allocations: 35.53 kB / 0.5634 GB, free: 15.26 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006199/0.6229, allocations: 214.4 kB / 0.5636 GB, free: 15.04 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.6229, allocations: 4 kB / 0.5636 GB, free: 15.04 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.6229, allocations: 4 kB / 0.5636 GB, free: 15.03 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.6229, allocations: 0 / 0.5636 GB, free: 15.03 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.6241, allocations: 0.6171 MB / 0.5642 GB, free: 14.37 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.6242, allocations: 0 / 0.5642 GB, free: 14.37 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.6244, allocations: 31.98 kB / 0.5642 GB, free: 14.34 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/0.6244, allocations: 8 kB / 0.5643 GB, free: 14.33 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.6245, allocations: 0 / 0.5643 GB, free: 14.33 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.02e-05/0.6245, allocations: 3.938 kB / 0.5643 GB, free: 14.33 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.6245, allocations: 0 / 0.5643 GB, free: 14.33 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004689/0.625, allocations: 274.3 kB / 0.5645 GB, free: 14.05 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002218/0.6252, allocations: 144.6 kB / 0.5647 GB, free: 13.89 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.845e-05/0.6253, allocations: 0 / 0.5647 GB, free: 13.89 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.6255, allocations: 12 kB / 0.5647 GB, free: 13.88 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.714e-05/0.6256, allocations: 15.97 kB / 0.5647 GB, free: 13.86 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.6256, allocations: 4 kB / 0.5647 GB, free: 13.86 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0007231/0.6263, allocations: 382.9 kB / 0.5651 GB, free: 13.48 MB / 411.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6264, allocations: 0 / 0.5651 GB, free: 13.48 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005089/0.6269, allocations: 71.81 kB / 0.5651 GB, free: 13.41 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 (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.001737/0.6286, allocations: 0.5711 MB / 0.5657 GB, free: 12.89 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0003523/0.629, allocations: 107.9 kB / 0.5658 GB, free: 12.79 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.629, allocations: 0 / 0.5658 GB, free: 12.79 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.6292, allocations: 59.94 kB / 0.5658 GB, free: 12.73 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006848/0.6299, allocations: 65.67 kB / 0.5659 GB, free: 12.66 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.6313, allocations: 0.5478 MB / 0.5664 GB, free: 12.09 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005186/0.6319, allocations: 0.8179 MB / 0.5672 GB, free: 11.25 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.6321, allocations: 43.42 kB / 0.5673 GB, free: 11.2 MB / 411.1 MB Notification: Performance of SimCode: time 9.31e-07/0.6321, allocations: 0 / 0.5673 GB, free: 11.2 MB / 411.1 MB Notification: Performance of Templates: time 0.01225/0.6443, allocations: 4.641 MB / 0.5718 GB, free: 6.555 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test20/Test20.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches