Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.001949/0.001949, 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.002274/0.002274, allocations: 212.8 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.493/1.493, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2268/0.2268, allocations: 44.91 MB / 358.8 MB, free: 6.301 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.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32",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.003247/0.003247, allocations: 67.89 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3576, allocations: 65.47 MB / 0.557 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.003184/0.3607, allocations: 1.637 MB / 0.5586 GB, free: 6.152 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.3618, allocations: 0.5582 MB / 0.5592 GB, free: 5.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.143e-05/0.3618, allocations: 4 kB / 0.5592 GB, free: 5.586 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003266/0.3622, allocations: 115.7 kB / 0.5593 GB, free: 5.473 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003001/0.3625, allocations: 111.6 kB / 0.5594 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.3628, allocations: 115.7 kB / 0.5595 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.363, allocations: 95.73 kB / 0.5596 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.964e-05/0.3631, allocations: 13.83 kB / 0.5596 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.86e-05/0.3631, allocations: 39.89 kB / 0.5597 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.3633, allocations: 75.78 kB / 0.5597 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.3633, allocations: 7.938 kB / 0.5597 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.826e-05/0.3634, allocations: 47.98 kB / 0.5598 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.917e-05/0.3634, allocations: 23.91 kB / 0.5598 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.166e-05/0.3635, allocations: 43.62 kB / 0.5599 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.3637, allocations: 111.5 kB / 0.56 GB, free: 4.801 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3637, allocations: 7.938 kB / 0.56 GB, free: 4.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3637, allocations: 0 / 0.56 GB, free: 4.793 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.431e-06/0.3637, allocations: 0 / 0.56 GB, free: 4.793 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.0004923/0.3642, allocations: 353.5 kB / 0.5603 GB, free: 4.418 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.3642, allocations: 12.03 kB / 0.5603 GB, free: 4.406 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.3643, allocations: 34.75 kB / 0.5604 GB, free: 4.363 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.3643, allocations: 8.891 kB / 0.5604 GB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.3645, allocations: 159 kB / 0.5605 GB, free: 4.172 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.3645, allocations: 4.375 kB / 0.5605 GB, free: 4.168 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.3645, allocations: 4.375 kB / 0.5605 GB, free: 4.164 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.3647, allocations: 57.61 kB / 0.5606 GB, free: 4.102 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.3647, allocations: 3.953 kB / 0.5606 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.3647, allocations: 3.984 kB / 0.5606 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.3647, allocations: 0 / 0.5606 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.3648, allocations: 31.97 kB / 0.5606 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004744/0.3653, allocations: 283.8 kB / 0.5609 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.3654, allocations: 46.55 kB / 0.5609 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.074e-05/0.3655, allocations: 12.86 kB / 0.5609 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.3655, allocations: 0 / 0.5609 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.3655, allocations: 42.64 kB / 0.561 GB, free: 3.621 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.3655, allocations: 0 / 0.561 GB, free: 3.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009234/0.3664, allocations: 245.1 kB / 0.5612 GB, free: 3.375 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.3665, allocations: 59.34 kB / 0.5613 GB, free: 3.305 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002635/0.3667, allocations: 258.9 kB / 0.5615 GB, free: 3.039 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.3668, allocations: 29.64 kB / 0.5615 GB, free: 3.004 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.123e-05/0.3668, allocations: 112.1 kB / 0.5617 GB, free: 2.891 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.367, allocations: 31.73 kB / 0.5617 GB, free: 2.859 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/0.367, allocations: 17.72 kB / 0.5617 GB, free: 2.836 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.3672, allocations: 326.8 kB / 0.562 GB, free: 2.508 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.357e-05/0.3673, allocations: 35.97 kB / 0.562 GB, free: 2.473 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.746e-05/0.3674, allocations: 31.98 kB / 0.5621 GB, free: 2.441 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.3675, allocations: 76.88 kB / 0.5621 GB, free: 2.363 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3675, allocations: 0 / 0.5621 GB, free: 2.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002326/0.3678, allocations: 109.6 kB / 0.5623 GB, free: 2.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.3678, allocations: 7.938 kB / 0.5623 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3678, allocations: 4 kB / 0.5623 GB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3678, allocations: 4 kB / 0.5623 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.3679, allocations: 15.98 kB / 0.5623 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.3679, allocations: 3.938 kB / 0.5623 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.825e-05/0.368, allocations: 11.98 kB / 0.5623 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.368, allocations: 4 kB / 0.5623 GB, free: 2.199 MB / 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 (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.0001125/0.3681, allocations: 129.8 kB / 0.5624 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.958e-05/0.3681, allocations: 15.91 kB / 0.5624 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003065/0.3684, allocations: 139.3 kB / 0.5626 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.3684, allocations: 0 / 0.5626 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3684, allocations: 3.938 kB / 0.5626 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3684, allocations: 0 / 0.5626 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000564/0.369, allocations: 398.3 kB / 0.563 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.369, allocations: 0 / 0.563 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.907e-05/0.3691, allocations: 23.95 kB / 0.563 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3691, allocations: 4 kB / 0.563 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.3691, allocations: 0 / 0.563 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3691, allocations: 4 kB / 0.563 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3691, allocations: 0 / 0.563 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002965/0.3694, allocations: 220.2 kB / 0.5632 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.032e-05/0.3694, allocations: 16.31 kB / 0.5632 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.3694, allocations: 11.94 kB / 0.5632 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.292e-05/0.3695, allocations: 0 / 0.5632 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.3695, allocations: 7.984 kB / 0.5632 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.3696, allocations: 4 kB / 0.5632 GB, free: 1.148 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001655/0.3697, allocations: 187.2 kB / 0.5634 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3697, allocations: 0 / 0.5634 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.37, allocations: 23.94 kB / 0.5634 GB, free: 0.9414 MB / 398.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.002169/0.3721, allocations: 1.121 MB / 0.5645 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002384/0.3724, allocations: 63.95 kB / 0.5646 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3724, allocations: 4 kB / 0.5646 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.385e-05/0.3725, allocations: 39.91 kB / 0.5646 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.3729, allocations: 25.73 kB / 0.5647 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/0.375, allocations: 1.816 MB / 0.5664 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.3754, allocations: 0.7158 MB / 0.5671 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.008e-05/0.3755, allocations: 20.66 kB / 0.5672 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.244e-05/0.3755, allocations: 39.42 kB / 0.5672 GB, free: 13.14 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3755, allocations: 0 / 0.5672 GB, free: 13.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.028/0.4035, allocations: 3.5 MB / 0.5706 GB, free: 9.703 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.36, allocations: 14.91 kB / 0.5706 GB, free: 9.691 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00240104 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.CombiTable1Dv.Test32_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.721463112000492]