Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001412/0.001412, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.00149/0.00149, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.522/1.522, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.2463/0.2463, allocations: 44.92 MB / 358.8 MB, free: 6.309 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.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6",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.002167/0.002167, allocations: 71.89 kB / 0.4931 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.3892, allocations: 65.47 MB / 0.557 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003692/0.3929, allocations: 1.677 MB / 0.5587 GB, free: 6.129 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.3942, allocations: 0.601 MB / 0.5593 GB, free: 5.523 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.9e-05/0.3943, allocations: 0 / 0.5593 GB, free: 5.523 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007348/0.395, allocations: 459.1 kB / 0.5597 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005596/0.3956, allocations: 287.3 kB / 0.56 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005305/0.3961, allocations: 183 kB / 0.5602 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003368/0.3965, allocations: 179.6 kB / 0.5603 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.3966, allocations: 17.8 kB / 0.5603 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.3968, allocations: 115.7 kB / 0.5604 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000365/0.3971, allocations: 251.5 kB / 0.5607 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.3971, allocations: 4 kB / 0.5607 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.3973, allocations: 39.98 kB / 0.5607 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001831/0.3974, allocations: 83.64 kB / 0.5608 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.3976, allocations: 110.9 kB / 0.5609 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006186/0.3982, allocations: 278.6 kB / 0.5612 GB, free: 3.559 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.3982, allocations: 0 / 0.5612 GB, free: 3.559 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.3982, allocations: 0 / 0.5612 GB, free: 3.559 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.3982, allocations: 0 / 0.5612 GB, free: 3.559 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001022/0.3992, allocations: 0.597 MB / 0.5618 GB, free: 2.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.3993, allocations: 8.031 kB / 0.5618 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.898e-05/0.3994, allocations: 46.69 kB / 0.5618 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.207e-05/0.3994, allocations: 40.66 kB / 0.5619 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.3998, allocations: 254.7 kB / 0.5621 GB, free: 2.555 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.3998, allocations: 384 / 0.5621 GB, free: 2.555 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.3998, allocations: 4.375 kB / 0.5621 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.4, allocations: 65.59 kB / 0.5622 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.4, allocations: 0 / 0.5622 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.4, allocations: 4 kB / 0.5622 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.4, allocations: 0 / 0.5622 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.4002, allocations: 39.97 kB / 0.5622 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006164/0.4008, allocations: 379.7 kB / 0.5626 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.4009, allocations: 50.55 kB / 0.5626 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.581e-05/0.401, allocations: 24.94 kB / 0.5626 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.401, allocations: 4 kB / 0.5626 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/0.4011, allocations: 34.55 kB / 0.5627 GB, free: 1.891 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.4011, allocations: 0 / 0.5627 GB, free: 1.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009038/0.402, allocations: 328.6 kB / 0.563 GB, free: 1.562 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.402, allocations: 51.41 kB / 0.563 GB, free: 1.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009511/0.403, allocations: 0.8737 MB / 0.5639 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.403, allocations: 25.7 kB / 0.5639 GB, free: 0.582 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.4032, allocations: 224 kB / 0.5641 GB, free: 368 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.4032, allocations: 27.78 kB / 0.5642 GB, free: 340 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.63e-05/0.4033, allocations: 17.72 kB / 0.5642 GB, free: 316 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002247/0.4035, allocations: 370.7 kB / 0.5645 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.4036, allocations: 35.97 kB / 0.5646 GB, free: 15.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.4037, allocations: 40.03 kB / 0.5646 GB, free: 15.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/0.4039, allocations: 92.78 kB / 0.5647 GB, free: 15.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.4039, allocations: 0 / 0.5647 GB, free: 15.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003102/0.4042, allocations: 165.3 kB / 0.5648 GB, free: 15.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.4043, allocations: 4 kB / 0.5649 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.4043, allocations: 0 / 0.5649 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.4043, allocations: 3.984 kB / 0.5649 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.4044, allocations: 23.92 kB / 0.5649 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.4044, allocations: 0 / 0.5649 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.3e-05/0.4045, allocations: 19.92 kB / 0.5649 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.894e-06/0.4045, allocations: 0 / 0.5649 GB, free: 15.55 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 (7): * Single equations (assignments): 7 * 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.000204/0.4047, allocations: 209.8 kB / 0.5651 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.924e-05/0.4048, allocations: 47.7 kB / 0.5651 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004069/0.4052, allocations: 177.5 kB / 0.5653 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.4052, allocations: 0 / 0.5653 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.4052, allocations: 4 kB / 0.5653 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.4052, allocations: 3.938 kB / 0.5653 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007039/0.4059, allocations: 497.4 kB / 0.5658 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.4059, allocations: 4 kB / 0.5658 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.671e-05/0.406, allocations: 19.97 kB / 0.5658 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.406, allocations: 0 / 0.5658 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.406, allocations: 11.94 kB / 0.5658 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.406, allocations: 4 kB / 0.5658 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.406, allocations: 0 / 0.5658 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003768/0.4064, allocations: 259.5 kB / 0.5661 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.621e-05/0.4065, allocations: 35.72 kB / 0.5661 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/0.4065, allocations: 11.92 kB / 0.5661 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.4066, allocations: 11.94 kB / 0.5661 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.4066, allocations: 7.984 kB / 0.5661 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.4067, allocations: 4 kB / 0.5661 GB, free: 14.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006838/0.4073, allocations: 0.655 MB / 0.5668 GB, free: 13.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4073, allocations: 0 / 0.5668 GB, free: 13.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002696/0.4076, allocations: 24 kB / 0.5668 GB, free: 13.5 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 (7): * Single equations (assignments): 7 * 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.002196/0.4098, allocations: 1.108 MB / 0.5679 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003209/0.4101, allocations: 83.92 kB / 0.568 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.4101, allocations: 4 kB / 0.568 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.4103, allocations: 43.91 kB / 0.568 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.4107, allocations: 34.23 kB / 0.5681 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004294/0.415, allocations: 3.378 MB / 0.5714 GB, free: 8.895 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004936/0.4155, allocations: 0.826 MB / 0.5722 GB, free: 8.043 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.028e-05/0.4156, allocations: 24.95 kB / 0.5722 GB, free: 8.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.4157, allocations: 119.4 kB / 0.5723 GB, free: 7.902 MB / 414.1 MB Notification: Performance of SimCode: time 8.71e-07/0.4157, allocations: 0 / 0.5723 GB, free: 7.902 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03508/0.4508, allocations: 6.445 MB / 0.5786 GB, free: 1.527 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.84, allocations: 7.062 kB / 0.5786 GB, free: 1.523 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_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_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.058601265998732]