Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.001353/0.001353, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001565/0.001565, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.509/1.509, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2793/0.2793, allocations: 44.94 MB / 358.8 MB, free: 6.047 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_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.003603/0.003603, allocations: 67.91 kB / 0.493 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3813, allocations: 65.47 MB / 0.557 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003415/0.3847, allocations: 1.615 MB / 0.5585 GB, free: 5.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.3859, allocations: 0.5378 MB / 0.5591 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.7e-05/0.3859, allocations: 3.938 kB / 0.5591 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006574/0.3866, allocations: 451.1 kB / 0.5595 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005799/0.3872, allocations: 291.3 kB / 0.5598 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004817/0.3876, allocations: 179.4 kB / 0.56 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002963/0.3879, allocations: 163.6 kB / 0.5601 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.3881, allocations: 19.98 kB / 0.5601 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.3882, allocations: 107.7 kB / 0.5602 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003929/0.3886, allocations: 243.5 kB / 0.5605 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.3886, allocations: 4 kB / 0.5605 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.14e-05/0.3887, allocations: 27.98 kB / 0.5605 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.3889, allocations: 92.66 kB / 0.5606 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.133e-05/0.3889, allocations: 67.25 kB / 0.5607 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000379/0.3893, allocations: 264.3 kB / 0.5609 GB, free: 3.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3893, allocations: 0 / 0.5609 GB, free: 3.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.3893, allocations: 0 / 0.5609 GB, free: 3.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.3893, allocations: 0 / 0.5609 GB, free: 3.48 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.0008453/0.3902, allocations: 0.5815 MB / 0.5615 GB, free: 2.867 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.3902, allocations: 8.031 kB / 0.5615 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.774e-05/0.3903, allocations: 34.75 kB / 0.5615 GB, free: 2.816 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.661e-05/0.3903, allocations: 48.64 kB / 0.5616 GB, free: 2.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003352/0.3907, allocations: 242.8 kB / 0.5618 GB, free: 2.508 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.3907, allocations: 4.375 kB / 0.5618 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.3907, allocations: 4.375 kB / 0.5618 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.3909, allocations: 57.56 kB / 0.5619 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.3909, allocations: 0 / 0.5619 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.3909, allocations: 0 / 0.5619 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.3909, allocations: 0 / 0.5619 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.881e-05/0.391, allocations: 27.97 kB / 0.5619 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005835/0.3916, allocations: 355.8 kB / 0.5622 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.3917, allocations: 42.5 kB / 0.5623 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.88e-05/0.3917, allocations: 12.91 kB / 0.5623 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.3918, allocations: 0 / 0.5623 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.3918, allocations: 34.56 kB / 0.5623 GB, free: 1.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.3918, allocations: 0 / 0.5623 GB, free: 1.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002888/0.3921, allocations: 109.3 kB / 0.5624 GB, free: 1.797 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.3921, allocations: 51.41 kB / 0.5625 GB, free: 1.734 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009949/0.3931, allocations: 0.8738 MB / 0.5633 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.3932, allocations: 25.83 kB / 0.5633 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.3934, allocations: 236 kB / 0.5636 GB, free: 0.582 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.3934, allocations: 7.891 kB / 0.5636 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.3934, allocations: 21.66 kB / 0.5636 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002802/0.3937, allocations: 358.7 kB / 0.5639 GB, free: 192 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.929e-05/0.3938, allocations: 15.98 kB / 0.5639 GB, free: 176 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.42e-05/0.3938, allocations: 7.984 kB / 0.564 GB, free: 168 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.502e-05/0.3939, allocations: 28.84 kB / 0.564 GB, free: 136 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3939, allocations: 0 / 0.564 GB, free: 136 kB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001577/0.394, allocations: 93.47 kB / 0.5641 GB, free: 36 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.3941, allocations: 8 kB / 0.5641 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.3941, allocations: 3.984 kB / 0.5641 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.3941, allocations: 0 / 0.5641 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.222e-05/0.3942, allocations: 7.938 kB / 0.5641 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.3942, allocations: 0 / 0.5641 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.068e-05/0.3942, allocations: 4 kB / 0.5641 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.3942, allocations: 4 kB / 0.5641 GB, free: 8 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.0002506/0.3945, allocations: 213.7 kB / 0.5643 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.585e-05/0.3945, allocations: 51.7 kB / 0.5644 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002382/0.3948, allocations: 108.8 kB / 0.5645 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3948, allocations: 3.984 kB / 0.5645 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3948, allocations: 0 / 0.5645 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.3948, allocations: 0 / 0.5645 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003049/0.3951, allocations: 256.6 kB / 0.5647 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3951, allocations: 0 / 0.5647 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.785e-05/0.3951, allocations: 7.984 kB / 0.5647 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3951, allocations: 4 kB / 0.5647 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.3951, allocations: 7.969 kB / 0.5647 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3951, allocations: 3.938 kB / 0.5647 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3951, allocations: 0 / 0.5647 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.3954, allocations: 195.2 kB / 0.5649 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-05/0.3955, allocations: 39.72 kB / 0.5649 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.3955, allocations: 0 / 0.5649 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.331e-05/0.3956, allocations: 0 / 0.5649 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.794e-05/0.3956, allocations: 7.984 kB / 0.565 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.3956, allocations: 0 / 0.565 GB, free: 15.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007412/0.3963, allocations: 0.6589 MB / 0.5656 GB, free: 14.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3963, allocations: 4.031 kB / 0.5656 GB, free: 14.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.3966, allocations: 19.94 kB / 0.5656 GB, free: 14.37 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.001847/0.3984, allocations: 0.996 MB / 0.5666 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001428/0.3986, allocations: 27.97 kB / 0.5666 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3986, allocations: 0 / 0.5666 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.25e-05/0.3986, allocations: 12 kB / 0.5666 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.399, allocations: 34.48 kB / 0.5667 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004118/0.4031, allocations: 3.183 MB / 0.5698 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.4034, allocations: 220.2 kB / 0.57 GB, free: 9.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.976e-05/0.4035, allocations: 19.8 kB / 0.57 GB, free: 9.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001965/0.4037, allocations: 115.4 kB / 0.5701 GB, free: 9.797 MB / 414.1 MB Notification: Performance of SimCode: time 1.143e-06/0.4037, allocations: 0 / 0.5701 GB, free: 9.797 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03448/0.4382, allocations: 6.311 MB / 0.5763 GB, free: 3.527 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.17, allocations: 14.23 kB / 0.5763 GB, free: 3.516 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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_CombiTable2Dv_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.797494397964329]