Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.001671/0.001671, 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.002428/0.002428, allocations: 216.7 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.525/1.525, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2424/0.2424, allocations: 44.93 MB / 358.8 MB, free: 6.035 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.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8",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.002048/0.002048, allocations: 67.88 kB / 0.493 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3711, allocations: 65.48 MB / 0.557 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.003317/0.3745, allocations: 1.595 MB / 0.5585 GB, free: 5.918 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.3755, allocations: 0.5144 MB / 0.559 GB, free: 5.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.336e-05/0.3756, allocations: 4 kB / 0.559 GB, free: 5.395 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006295/0.3762, allocations: 451.1 kB / 0.5595 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004899/0.3767, allocations: 295.3 kB / 0.5598 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.377, allocations: 127.3 kB / 0.5599 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000241/0.3773, allocations: 167.6 kB / 0.56 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.527e-05/0.3774, allocations: 8.172 kB / 0.56 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.3775, allocations: 107.8 kB / 0.5602 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002824/0.3778, allocations: 247.5 kB / 0.5604 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.3778, allocations: 0 / 0.5604 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.366e-05/0.3779, allocations: 27.92 kB / 0.5604 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.378, allocations: 84.67 kB / 0.5605 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.649e-05/0.3781, allocations: 71.23 kB / 0.5606 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003314/0.3784, allocations: 260.5 kB / 0.5608 GB, free: 3.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3784, allocations: 0 / 0.5608 GB, free: 3.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3784, allocations: 4 kB / 0.5608 GB, free: 3.586 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.3784, allocations: 0 / 0.5608 GB, free: 3.586 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.0008275/0.3792, allocations: 0.5776 MB / 0.5614 GB, free: 2.977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/0.3793, allocations: 12.03 kB / 0.5614 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.26e-05/0.3794, allocations: 34.75 kB / 0.5614 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.782e-05/0.3794, allocations: 48.61 kB / 0.5615 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/0.3797, allocations: 246.7 kB / 0.5617 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.3798, allocations: 384 / 0.5617 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.3798, allocations: 8.125 kB / 0.5617 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.3799, allocations: 45.69 kB / 0.5618 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.3799, allocations: 7.984 kB / 0.5618 GB, free: 2.543 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.3799, allocations: 4 kB / 0.5618 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3799, allocations: 0 / 0.5618 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.392e-05/0.38, allocations: 23.97 kB / 0.5618 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005284/0.3805, allocations: 343.8 kB / 0.5621 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.1e-05/0.3806, allocations: 34.56 kB / 0.5622 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.598e-05/0.3807, allocations: 16.91 kB / 0.5622 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.3807, allocations: 0 / 0.5622 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.453e-05/0.3807, allocations: 34.56 kB / 0.5622 GB, free: 2.031 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.3807, allocations: 4 kB / 0.5622 GB, free: 2.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002599/0.381, allocations: 97.34 kB / 0.5623 GB, free: 1.926 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.381, allocations: 55.39 kB / 0.5623 GB, free: 1.859 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.3822, allocations: 0.8776 MB / 0.5632 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.3822, allocations: 25.7 kB / 0.5632 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.3824, allocations: 228 kB / 0.5634 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.3824, allocations: 3.953 kB / 0.5635 GB, free: 0.707 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/0.3824, allocations: 17.7 kB / 0.5635 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.3826, allocations: 362.9 kB / 0.5638 GB, free: 328 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.954e-05/0.3827, allocations: 8 kB / 0.5638 GB, free: 320 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.573e-05/0.3827, allocations: 15.98 kB / 0.5638 GB, free: 304 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.598e-05/0.3828, allocations: 16.84 kB / 0.5639 GB, free: 284 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3828, allocations: 4 kB / 0.5639 GB, free: 280 kB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001505/0.3829, allocations: 93.34 kB / 0.5639 GB, free: 180 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.3829, allocations: 4 kB / 0.564 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3829, allocations: 4.031 kB / 0.564 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.3829, allocations: 4 kB / 0.564 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.593e-05/0.383, allocations: 7.984 kB / 0.564 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.383, allocations: 0 / 0.564 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.23e-05/0.3831, allocations: 11.94 kB / 0.564 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.3831, allocations: 3.938 kB / 0.564 GB, free: 144 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.0002087/0.3833, allocations: 209.8 kB / 0.5642 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.146e-05/0.3834, allocations: 43.72 kB / 0.5642 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002061/0.3836, allocations: 108.8 kB / 0.5643 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3836, allocations: 4.031 kB / 0.5643 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3836, allocations: 0 / 0.5643 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.3836, allocations: 0 / 0.5643 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002938/0.3839, allocations: 256.6 kB / 0.5646 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.3839, allocations: 0 / 0.5646 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.38e-05/0.3839, allocations: 4 kB / 0.5646 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3839, allocations: 0 / 0.5646 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.3839, allocations: 4 kB / 0.5646 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3839, allocations: 0 / 0.5646 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3839, allocations: 0 / 0.5646 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.3841, allocations: 199.2 kB / 0.5648 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.125e-05/0.3842, allocations: 35.67 kB / 0.5648 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.3842, allocations: 4 kB / 0.5648 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.493e-05/0.3843, allocations: 3.984 kB / 0.5648 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.368e-05/0.3843, allocations: 3.938 kB / 0.5648 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.3843, allocations: 4 kB / 0.5648 GB, free: 15.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007104/0.385, allocations: 0.6628 MB / 0.5655 GB, free: 14.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.385, allocations: 0 / 0.5655 GB, free: 14.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002483/0.3853, allocations: 20 kB / 0.5655 GB, free: 14.52 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.001835/0.3871, allocations: 0.9892 MB / 0.5665 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001437/0.3872, allocations: 23.92 kB / 0.5665 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3873, allocations: 4.062 kB / 0.5665 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.805e-05/0.3873, allocations: 11.98 kB / 0.5665 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.3877, allocations: 30.92 kB / 0.5665 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003764/0.3915, allocations: 3.148 MB / 0.5696 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.3917, allocations: 221.5 kB / 0.5698 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.402e-05/0.3918, allocations: 11.81 kB / 0.5698 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.3919, allocations: 111.4 kB / 0.5699 GB, free: 9.996 MB / 414.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3919, allocations: 0 / 0.5699 GB, free: 9.996 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03271/0.4246, allocations: 6.277 MB / 0.5761 GB, free: 3.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.85, allocations: 5 kB / 0.5761 GB, free: 3.766 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_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_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.Test8_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.033971121069044]