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.001648/0.001648, allocations: 111.1 kB / 20.44 MB, free: 1.324 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.002005/0.002005, allocations: 205.6 kB / 23.73 MB, free: 4.492 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.489/1.489, 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.2227/0.2227, allocations: 44.93 MB / 358.8 MB, free: 6.012 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.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.002144/0.002144, allocations: 79.88 kB / 0.493 GB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3162, allocations: 65.47 MB / 0.557 GB, free: 7.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003226/0.3194, allocations: 1.642 MB / 0.5586 GB, free: 5.832 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.3206, allocations: 0.5738 MB / 0.5591 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.873e-05/0.3207, allocations: 0 / 0.5591 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000722/0.3214, allocations: 443.2 kB / 0.5596 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005185/0.3219, allocations: 299.3 kB / 0.5599 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004707/0.3224, allocations: 179.2 kB / 0.56 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002627/0.3226, allocations: 183.7 kB / 0.5602 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.3227, allocations: 17.75 kB / 0.5602 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.3229, allocations: 111.8 kB / 0.5603 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002958/0.3232, allocations: 247.5 kB / 0.5606 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.3232, allocations: 7.938 kB / 0.5606 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.3233, allocations: 39.98 kB / 0.5606 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.3234, allocations: 83.69 kB / 0.5607 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.3235, allocations: 79.22 kB / 0.5608 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003661/0.3239, allocations: 278.5 kB / 0.561 GB, free: 3.328 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3239, allocations: 0 / 0.561 GB, free: 3.328 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3239, allocations: 0 / 0.561 GB, free: 3.328 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.3239, allocations: 0 / 0.561 GB, free: 3.328 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.0008884/0.3248, allocations: 0.5931 MB / 0.5616 GB, free: 2.703 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.3248, allocations: 8.031 kB / 0.5616 GB, free: 2.695 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.677e-05/0.3249, allocations: 50.67 kB / 0.5617 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.152e-05/0.3249, allocations: 40.66 kB / 0.5617 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.3253, allocations: 250.8 kB / 0.5619 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.3253, allocations: 8.375 kB / 0.5619 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.3253, allocations: 4.375 kB / 0.562 GB, free: 2.316 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.3255, allocations: 69.53 kB / 0.562 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.3255, allocations: 3.984 kB / 0.562 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.3255, allocations: 0 / 0.562 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.3255, allocations: 0 / 0.562 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.3256, allocations: 43.89 kB / 0.5621 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005709/0.3262, allocations: 371.8 kB / 0.5624 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.3264, allocations: 54.48 kB / 0.5625 GB, free: 1.727 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.729e-05/0.3264, allocations: 24.94 kB / 0.5625 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.3265, allocations: 0 / 0.5625 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.3265, allocations: 34.56 kB / 0.5625 GB, free: 1.656 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.3265, allocations: 0 / 0.5625 GB, free: 1.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009032/0.3274, allocations: 324.6 kB / 0.5628 GB, free: 1.332 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.3274, allocations: 55.41 kB / 0.5629 GB, free: 1.266 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009111/0.3283, allocations: 0.8698 MB / 0.5637 GB, free: 392 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.3284, allocations: 25.7 kB / 0.5638 GB, free: 360 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.3286, allocations: 228 kB / 0.564 GB, free: 128 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.3286, allocations: 19.8 kB / 0.564 GB, free: 108 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.69e-05/0.3286, allocations: 25.7 kB / 0.564 GB, free: 76 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00026/0.3289, allocations: 354.8 kB / 0.5644 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/0.3291, allocations: 43.97 kB / 0.5644 GB, free: 15.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.3292, allocations: 39.95 kB / 0.5644 GB, free: 15.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.3295, allocations: 88.73 kB / 0.5645 GB, free: 15.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3295, allocations: 0 / 0.5645 GB, free: 15.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003459/0.3298, allocations: 165.3 kB / 0.5647 GB, free: 15.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.3298, allocations: 10.81 kB / 0.5647 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3298, allocations: 0 / 0.5647 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.3298, allocations: 0 / 0.5647 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.33, allocations: 19.98 kB / 0.5647 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.33, allocations: 0 / 0.5647 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.145e-05/0.3301, allocations: 11.92 kB / 0.5647 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/0.3301, allocations: 4 kB / 0.5647 GB, free: 15.34 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.0002102/0.3303, allocations: 221.7 kB / 0.5649 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.337e-05/0.3303, allocations: 43.72 kB / 0.565 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004318/0.3308, allocations: 181.8 kB / 0.5652 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3308, allocations: 0 / 0.5652 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3308, allocations: 0 / 0.5652 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.3308, allocations: 7.922 kB / 0.5652 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007558/0.3315, allocations: 493.5 kB / 0.5656 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3315, allocations: 3.938 kB / 0.5656 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.254e-05/0.3316, allocations: 19.98 kB / 0.5657 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.3316, allocations: 0 / 0.5657 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.3317, allocations: 7.938 kB / 0.5657 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.748e-06/0.3317, allocations: 11.98 kB / 0.5657 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3317, allocations: 0 / 0.5657 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003854/0.332, allocations: 259.2 kB / 0.5659 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.976e-05/0.3321, allocations: 39.66 kB / 0.566 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.3321, allocations: 3.938 kB / 0.566 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.3322, allocations: 11.98 kB / 0.566 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.3323, allocations: 7.984 kB / 0.566 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.3323, allocations: 0 / 0.566 GB, free: 13.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006875/0.333, allocations: 0.6589 MB / 0.5666 GB, free: 13.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.333, allocations: 0 / 0.5666 GB, free: 13.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000272/0.3332, allocations: 28 kB / 0.5667 GB, free: 13.27 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.002328/0.3356, allocations: 1.125 MB / 0.5678 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003225/0.3359, allocations: 91.8 kB / 0.5678 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3359, allocations: 0 / 0.5678 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.336, allocations: 47.97 kB / 0.5679 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.3364, allocations: 29.17 kB / 0.5679 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004435/0.3409, allocations: 3.378 MB / 0.5712 GB, free: 8.676 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.3411, allocations: 224.1 kB / 0.5714 GB, free: 8.434 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.956e-05/0.3412, allocations: 28.94 kB / 0.5715 GB, free: 8.406 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/0.3414, allocations: 119.4 kB / 0.5716 GB, free: 8.289 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3414, allocations: 4 kB / 0.5716 GB, free: 8.285 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03625/0.3777, allocations: 6.782 MB / 0.5782 GB, free: 1.559 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.19, allocations: 10.11 kB / 0.5782 GB, free: 1.551 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.550490239169449]