Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001325/0.001325, 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.0015/0.0015, allocations: 214.7 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.497/1.497, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.2435/0.2435, allocations: 44.91 MB / 358.8 MB, free: 6.277 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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2",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.002014/0.002014, allocations: 65.78 kB / 0.4931 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3474, allocations: 65.47 MB / 0.5571 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003599/0.351, allocations: 1.688 MB / 0.5587 GB, free: 6.066 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.3523, allocations: 0.601 MB / 0.5593 GB, free: 5.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.805e-05/0.3524, allocations: 0 / 0.5593 GB, free: 5.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007157/0.3531, allocations: 459.1 kB / 0.5597 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005657/0.3537, allocations: 291.3 kB / 0.56 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005272/0.3542, allocations: 175.4 kB / 0.5602 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002796/0.3545, allocations: 179.6 kB / 0.5603 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.3546, allocations: 18.05 kB / 0.5604 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.3548, allocations: 123.6 kB / 0.5605 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002967/0.3551, allocations: 243.5 kB / 0.5607 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.3551, allocations: 4 kB / 0.5607 GB, free: 4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.3552, allocations: 47.98 kB / 0.5608 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.3554, allocations: 95.61 kB / 0.5608 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.946e-05/0.3555, allocations: 103 kB / 0.5609 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004306/0.3559, allocations: 294.4 kB / 0.5612 GB, free: 3.469 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3559, allocations: 7.938 kB / 0.5612 GB, free: 3.461 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3559, allocations: 0 / 0.5612 GB, free: 3.461 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.3559, allocations: 0 / 0.5612 GB, free: 3.461 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008562/0.3568, allocations: 0.5931 MB / 0.5618 GB, free: 2.836 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.3568, allocations: 12.03 kB / 0.5618 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.285e-05/0.3569, allocations: 38.67 kB / 0.5619 GB, free: 2.777 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.745e-05/0.3569, allocations: 44.66 kB / 0.5619 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/0.3573, allocations: 254.7 kB / 0.5621 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.128e-06/0.3573, allocations: 4.375 kB / 0.5622 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.3573, allocations: 4.375 kB / 0.5622 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.3575, allocations: 61.61 kB / 0.5622 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.3575, allocations: 0 / 0.5622 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.3575, allocations: 4 kB / 0.5622 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.3575, allocations: 4 kB / 0.5622 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.3576, allocations: 27.97 kB / 0.5623 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007009/0.3583, allocations: 391.7 kB / 0.5626 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.3585, allocations: 38.56 kB / 0.5627 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.065e-05/0.3585, allocations: 24.97 kB / 0.5627 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.3586, allocations: 3.984 kB / 0.5627 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.3586, allocations: 30.56 kB / 0.5627 GB, free: 1.809 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3586, allocations: 0 / 0.5627 GB, free: 1.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001052/0.3596, allocations: 344.7 kB / 0.563 GB, free: 1.465 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.897e-05/0.3597, allocations: 59.34 kB / 0.5631 GB, free: 1.395 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.3607, allocations: 0.8699 MB / 0.564 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.3608, allocations: 29.7 kB / 0.564 GB, free: 488 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.361, allocations: 232.1 kB / 0.5642 GB, free: 252 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.082e-05/0.361, allocations: 23.75 kB / 0.5642 GB, free: 228 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.361, allocations: 25.7 kB / 0.5642 GB, free: 196 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002108/0.3612, allocations: 362.8 kB / 0.5646 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.484e-05/0.3613, allocations: 27.97 kB / 0.5646 GB, free: 15.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.364e-05/0.3614, allocations: 27.98 kB / 0.5646 GB, free: 15.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.3616, allocations: 88.73 kB / 0.5647 GB, free: 15.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.3616, allocations: 0 / 0.5647 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003218/0.3619, allocations: 145.3 kB / 0.5649 GB, free: 15.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.362, allocations: 8 kB / 0.5649 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.362, allocations: 0 / 0.5649 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.362, allocations: 3.938 kB / 0.5649 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.3621, allocations: 19.92 kB / 0.5649 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.3621, allocations: 4 kB / 0.5649 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.757e-05/0.3622, allocations: 7.984 kB / 0.5649 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.3622, allocations: 11.94 kB / 0.5649 GB, free: 15.48 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 (8): * Single equations (assignments): 8 * 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.0002176/0.3624, allocations: 217.7 kB / 0.5651 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.435e-05/0.3625, allocations: 43.72 kB / 0.5652 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003833/0.3628, allocations: 173.5 kB / 0.5653 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.3628, allocations: 3.938 kB / 0.5653 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3629, allocations: 4 kB / 0.5653 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3629, allocations: 0 / 0.5653 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007761/0.3636, allocations: 0.4986 MB / 0.5658 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3636, allocations: 0 / 0.5658 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.699e-05/0.3637, allocations: 15.94 kB / 0.5658 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.3637, allocations: 4 kB / 0.5659 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.3637, allocations: 7.984 kB / 0.5659 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3637, allocations: 4.031 kB / 0.5659 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3637, allocations: 0 / 0.5659 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003284/0.3641, allocations: 248.1 kB / 0.5661 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.217e-05/0.3641, allocations: 43.66 kB / 0.5661 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.3642, allocations: 0 / 0.5661 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.884e-05/0.3643, allocations: 12 kB / 0.5662 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.3643, allocations: 11.98 kB / 0.5662 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.3643, allocations: 4 kB / 0.5662 GB, free: 14.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007217/0.365, allocations: 0.6628 MB / 0.5668 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.365, allocations: 0 / 0.5668 GB, free: 13.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.3653, allocations: 28 kB / 0.5668 GB, free: 13.42 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002328/0.3676, allocations: 1.148 MB / 0.568 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002686/0.3679, allocations: 75.89 kB / 0.568 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.3679, allocations: 4 kB / 0.568 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.368, allocations: 35.91 kB / 0.5681 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004538/0.3685, allocations: 31.92 kB / 0.5681 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004463/0.3729, allocations: 3.396 MB / 0.5714 GB, free: 8.793 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005642/0.3735, allocations: 0.8304 MB / 0.5722 GB, free: 7.938 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001105/0.3736, allocations: 20.72 kB / 0.5723 GB, free: 7.918 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.3738, allocations: 123.4 kB / 0.5724 GB, free: 7.797 MB / 414.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3738, allocations: 0 / 0.5724 GB, free: 7.797 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0362/0.41, allocations: 6.645 MB / 0.5789 GB, free: 1.219 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.08, allocations: 11.19 kB / 0.5789 GB, free: 1.211 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_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_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.320945707004284]