Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.001745/0.001745, allocations: 115.8 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.002065/0.002065, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.574/1.574, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2656/0.2656, allocations: 44.91 MB / 358.8 MB, free: 6.297 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 67.89 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.3951, allocations: 65.46 MB / 0.557 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.004295/0.3994, allocations: 1.63 MB / 0.5586 GB, free: 6.168 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.4007, allocations: 0.5416 MB / 0.5592 GB, free: 5.621 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.525e-05/0.4007, allocations: 3.938 kB / 0.5592 GB, free: 5.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000725/0.4015, allocations: 455.2 kB / 0.5596 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005955/0.4021, allocations: 291.3 kB / 0.5599 GB, free: 4.887 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004208/0.4025, allocations: 135.4 kB / 0.56 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002818/0.4028, allocations: 163.6 kB / 0.5602 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.4029, allocations: 12.17 kB / 0.5602 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.403, allocations: 103.8 kB / 0.5603 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003121/0.4033, allocations: 243.5 kB / 0.5605 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.4033, allocations: 4 kB / 0.5605 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.126e-05/0.4034, allocations: 27.92 kB / 0.5605 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.4035, allocations: 84.67 kB / 0.5606 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.4036, allocations: 99 kB / 0.5607 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000344/0.404, allocations: 260.5 kB / 0.5609 GB, free: 3.781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.404, allocations: 3.938 kB / 0.561 GB, free: 3.777 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.404, allocations: 0 / 0.561 GB, free: 3.777 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.404, allocations: 0 / 0.561 GB, free: 3.777 MB / 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.001021/0.405, allocations: 0.5738 MB / 0.5615 GB, free: 3.172 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.4051, allocations: 12.03 kB / 0.5615 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.767e-05/0.4051, allocations: 30.75 kB / 0.5616 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.985e-05/0.4052, allocations: 52.61 kB / 0.5616 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.4055, allocations: 250.7 kB / 0.5618 GB, free: 2.801 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.4055, allocations: 4.375 kB / 0.5618 GB, free: 2.797 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.4055, allocations: 4.125 kB / 0.5619 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.4057, allocations: 45.69 kB / 0.5619 GB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.4057, allocations: 0 / 0.5619 GB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.4057, allocations: 0 / 0.5619 GB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.4057, allocations: 0 / 0.5619 GB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.261e-05/0.4058, allocations: 27.95 kB / 0.5619 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005174/0.4063, allocations: 351.8 kB / 0.5623 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.555e-05/0.4064, allocations: 34.56 kB / 0.5623 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.536e-05/0.4064, allocations: 8.922 kB / 0.5623 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.4065, allocations: 7.984 kB / 0.5623 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.4065, allocations: 34.56 kB / 0.5623 GB, free: 2.223 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.4065, allocations: 4 kB / 0.5623 GB, free: 2.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002942/0.4068, allocations: 97.34 kB / 0.5624 GB, free: 2.117 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.4069, allocations: 51.41 kB / 0.5625 GB, free: 2.055 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009741/0.4078, allocations: 0.8738 MB / 0.5633 GB, free: 1.168 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.4078, allocations: 29.7 kB / 0.5634 GB, free: 1.133 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.408, allocations: 224 kB / 0.5636 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.4081, allocations: 7.953 kB / 0.5636 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/0.4081, allocations: 13.84 kB / 0.5636 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002218/0.4083, allocations: 370.7 kB / 0.564 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.933e-05/0.4084, allocations: 7.938 kB / 0.564 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.58e-05/0.4084, allocations: 7.984 kB / 0.564 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.426e-05/0.4085, allocations: 32.78 kB / 0.564 GB, free: 472 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4085, allocations: 0 / 0.564 GB, free: 472 kB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001699/0.4087, allocations: 97.41 kB / 0.5641 GB, free: 368 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.4087, allocations: 10.34 kB / 0.5641 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.4087, allocations: 0 / 0.5641 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.4087, allocations: 0 / 0.5641 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.999e-05/0.4088, allocations: 7.984 kB / 0.5641 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.4088, allocations: 0 / 0.5641 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.301e-05/0.4088, allocations: 7.938 kB / 0.5641 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.4089, allocations: 3.938 kB / 0.5641 GB, free: 340 kB / 398.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 (2): * Single equations (assignments): 2 * 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.0002088/0.4091, allocations: 217.8 kB / 0.5643 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.576e-05/0.4091, allocations: 39.72 kB / 0.5644 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002568/0.4094, allocations: 104.8 kB / 0.5645 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4094, allocations: 0 / 0.5645 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4094, allocations: 0 / 0.5645 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.4094, allocations: 0 / 0.5645 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003171/0.4097, allocations: 264.6 kB / 0.5647 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.4097, allocations: 0 / 0.5647 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.763e-05/0.4097, allocations: 7.984 kB / 0.5647 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.4097, allocations: 4.031 kB / 0.5647 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.4097, allocations: 4 kB / 0.5647 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.4097, allocations: 0 / 0.5647 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.4098, allocations: 3.984 kB / 0.5647 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/0.41, allocations: 187.2 kB / 0.5649 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.195e-05/0.41, allocations: 43.66 kB / 0.565 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.4101, allocations: 0 / 0.565 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.219e-05/0.4101, allocations: 7.969 kB / 0.565 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.629e-05/0.4101, allocations: 7.984 kB / 0.565 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.4101, allocations: 0 / 0.565 GB, free: 15.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000685/0.4108, allocations: 0.6589 MB / 0.5656 GB, free: 14.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4108, allocations: 0 / 0.5656 GB, free: 14.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002517/0.4111, allocations: 23.98 kB / 0.5656 GB, free: 14.7 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 (2): * Single equations (assignments): 2 * 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.001724/0.4128, allocations: 0.9603 MB / 0.5666 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001636/0.413, allocations: 27.92 kB / 0.5666 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.413, allocations: 3.938 kB / 0.5666 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.342e-05/0.413, allocations: 15.98 kB / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004607/0.4135, allocations: 18.3 kB / 0.5666 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004162/0.4176, allocations: 3.16 MB / 0.5697 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005484/0.4182, allocations: 0.8182 MB / 0.5705 GB, free: 9.684 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.277e-05/0.4182, allocations: 15.73 kB / 0.5705 GB, free: 9.668 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/0.4184, allocations: 107.4 kB / 0.5706 GB, free: 9.562 MB / 414.1 MB Notification: Performance of SimCode: time 1.673e-06/0.4184, allocations: 0 / 0.5706 GB, free: 9.562 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03642/0.4548, allocations: 5.889 MB / 0.5764 GB, free: 3.738 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.98, allocations: 7.938 kB / 0.5764 GB, free: 3.73 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_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_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable const.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.328521554998588]