Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002322/0.002322, allocations: 210.7 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2223/0.2223, allocations: 46.93 MB / 360.9 MB, free: 4.301 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 67.89 kB / 0.4962 GB, free: 7.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.33, allocations: 66.04 MB / 0.5607 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003269/0.3332, allocations: 1.631 MB / 0.5623 GB, free: 2.852 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.3343, allocations: 0.5494 MB / 0.5628 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.473e-05/0.3344, allocations: 8 kB / 0.5628 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006001/0.335, allocations: 455.1 kB / 0.5632 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004867/0.3355, allocations: 287.3 kB / 0.5635 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.3358, allocations: 135 kB / 0.5636 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003022/0.3361, allocations: 175.6 kB / 0.5638 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.3362, allocations: 11.98 kB / 0.5638 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.3364, allocations: 103.8 kB / 0.5639 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003003/0.3367, allocations: 247.5 kB / 0.5642 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.3367, allocations: 8 kB / 0.5642 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.641e-05/0.3368, allocations: 23.94 kB / 0.5642 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.3369, allocations: 88.61 kB / 0.5643 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.258e-05/0.337, allocations: 103 kB / 0.5644 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003302/0.3373, allocations: 264.5 kB / 0.5646 GB, free: 440 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3373, allocations: 0 / 0.5646 GB, free: 440 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3373, allocations: 0 / 0.5646 GB, free: 440 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.3373, allocations: 0 / 0.5646 GB, free: 440 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.001029/0.3383, allocations: 0.5839 MB / 0.5652 GB, free: 15.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.3384, allocations: 16.03 kB / 0.5652 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001147/0.3385, allocations: 30.75 kB / 0.5652 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.011e-05/0.3386, allocations: 40.66 kB / 0.5653 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.3389, allocations: 250.7 kB / 0.5655 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.3389, allocations: 8.375 kB / 0.5655 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.3389, allocations: 8.359 kB / 0.5655 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.3391, allocations: 49.62 kB / 0.5656 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3391, allocations: 0 / 0.5656 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.3391, allocations: 0 / 0.5656 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.3391, allocations: 4 kB / 0.5656 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.3392, allocations: 35.91 kB / 0.5656 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004751/0.3397, allocations: 355.8 kB / 0.5659 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.3398, allocations: 42.55 kB / 0.566 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.559e-05/0.3399, allocations: 20.94 kB / 0.566 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.3399, allocations: 4 kB / 0.566 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.34, allocations: 34.56 kB / 0.566 GB, free: 14.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.34, allocations: 3.938 kB / 0.5661 GB, free: 14.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003499/0.3403, allocations: 121.5 kB / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.3403, allocations: 55.41 kB / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009115/0.3413, allocations: 0.866 MB / 0.5671 GB, free: 13.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.3413, allocations: 29.7 kB / 0.5671 GB, free: 13.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.3415, allocations: 224 kB / 0.5673 GB, free: 13.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.3415, allocations: 7.938 kB / 0.5673 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.605e-05/0.3415, allocations: 17.72 kB / 0.5673 GB, free: 13.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.3417, allocations: 362.7 kB / 0.5677 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.669e-05/0.3418, allocations: 19.98 kB / 0.5677 GB, free: 13.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.585e-05/0.3418, allocations: 15.97 kB / 0.5677 GB, free: 13.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.342, allocations: 44.83 kB / 0.5678 GB, free: 13.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.342, allocations: 0 / 0.5678 GB, free: 13.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002004/0.3422, allocations: 105.3 kB / 0.5679 GB, free: 12.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.3422, allocations: 4 kB / 0.5679 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3422, allocations: 0 / 0.5679 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.3422, allocations: 0 / 0.5679 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.634e-05/0.3423, allocations: 11.98 kB / 0.5679 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.3423, allocations: 4 kB / 0.5679 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.132e-05/0.3424, allocations: 11.95 kB / 0.5679 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.3424, allocations: 0 / 0.5679 GB, free: 12.88 MB / 414.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000194/0.3426, allocations: 213.7 kB / 0.5681 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.103e-05/0.3426, allocations: 43.72 kB / 0.5681 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002673/0.3429, allocations: 125.1 kB / 0.5683 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3429, allocations: 0 / 0.5683 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.3429, allocations: 4 kB / 0.5683 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3429, allocations: 0 / 0.5683 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003027/0.3432, allocations: 260.6 kB / 0.5685 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3432, allocations: 0 / 0.5685 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.552e-05/0.3433, allocations: 11.98 kB / 0.5685 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3433, allocations: 3.938 kB / 0.5685 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.3433, allocations: 0 / 0.5685 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3433, allocations: 4 kB / 0.5685 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3433, allocations: 0 / 0.5685 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.3435, allocations: 211.2 kB / 0.5687 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.61e-05/0.3436, allocations: 35.72 kB / 0.5688 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.3436, allocations: 4 kB / 0.5688 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.688e-05/0.3437, allocations: 3.984 kB / 0.5688 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.308e-05/0.3437, allocations: 7.938 kB / 0.5688 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.3437, allocations: 0 / 0.5688 GB, free: 11.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006943/0.3444, allocations: 0.6589 MB / 0.5694 GB, free: 11.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3444, allocations: 4 kB / 0.5694 GB, free: 11.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.3447, allocations: 23.88 kB / 0.5694 GB, free: 11.21 MB / 414.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001717/0.3464, allocations: 0.9881 MB / 0.5704 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001862/0.3466, allocations: 35.91 kB / 0.5704 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3466, allocations: 0 / 0.5704 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.214e-05/0.3466, allocations: 15.98 kB / 0.5705 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/0.347, allocations: 32.17 kB / 0.5705 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004011/0.3511, allocations: 3.178 MB / 0.5736 GB, free: 6.973 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005048/0.3516, allocations: 0.8219 MB / 0.5744 GB, free: 6.125 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.336e-05/0.3516, allocations: 11.44 kB / 0.5744 GB, free: 6.117 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.3518, allocations: 115.4 kB / 0.5745 GB, free: 6.008 MB / 414.1 MB Notification: Performance of SimCode: time 6.42e-07/0.3518, allocations: 4 kB / 0.5745 GB, free: 6.004 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03233/0.3841, allocations: 5.918 MB / 0.5803 GB, free: 156 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12, allocations: 11.17 kB / 0.5803 GB, free: 148 kB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test9.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.046022968002944]