Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.001745/0.001745, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002181/0.002181, allocations: 216.5 kB / 23.75 MB, free: 4.668 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.528/1.528, allocations: 230.6 MB / 257.5 MB, free: 8 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.2367/0.2367, allocations: 44.91 MB / 358.8 MB, free: 6.363 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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",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.003018/0.003018, allocations: 67.88 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3535, allocations: 65.47 MB / 0.557 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003431/0.3569, allocations: 1.641 MB / 0.5586 GB, free: 6.125 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.3581, allocations: 0.5543 MB / 0.5592 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.429e-05/0.3581, allocations: 3.938 kB / 0.5592 GB, free: 5.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002621/0.3584, allocations: 83.77 kB / 0.5593 GB, free: 5.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002854/0.3587, allocations: 99.59 kB / 0.5594 GB, free: 5.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.359, allocations: 119.6 kB / 0.5595 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.3592, allocations: 91.73 kB / 0.5596 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.42e-05/0.3592, allocations: 9.828 kB / 0.5596 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.565e-05/0.3593, allocations: 39.83 kB / 0.5596 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.3594, allocations: 67.8 kB / 0.5597 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.3595, allocations: 4 kB / 0.5597 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.581e-05/0.3596, allocations: 44 kB / 0.5597 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.166e-05/0.3596, allocations: 23.86 kB / 0.5597 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.572e-05/0.3597, allocations: 35.72 kB / 0.5598 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.3598, allocations: 103.5 kB / 0.5599 GB, free: 4.855 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3599, allocations: 0 / 0.5599 GB, free: 4.855 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.3599, allocations: 0 / 0.5599 GB, free: 4.855 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.3599, allocations: 3.938 kB / 0.5599 GB, free: 4.852 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.0005093/0.3604, allocations: 344.4 kB / 0.5602 GB, free: 4.488 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.3604, allocations: 15.97 kB / 0.5602 GB, free: 4.473 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.774e-05/0.3604, allocations: 34.75 kB / 0.5603 GB, free: 4.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.3605, allocations: 12.84 kB / 0.5603 GB, free: 4.418 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.3607, allocations: 147 kB / 0.5604 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.737e-06/0.3607, allocations: 4.375 kB / 0.5604 GB, free: 4.242 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.3607, allocations: 384 / 0.5604 GB, free: 4.242 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.3609, allocations: 57.61 kB / 0.5605 GB, free: 4.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.3609, allocations: 7.938 kB / 0.5605 GB, free: 4.172 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.3609, allocations: 3.984 kB / 0.5605 GB, free: 4.168 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.3609, allocations: 0 / 0.5605 GB, free: 4.168 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.361, allocations: 27.98 kB / 0.5605 GB, free: 4.141 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000438/0.3614, allocations: 271.9 kB / 0.5608 GB, free: 3.832 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.3616, allocations: 50.5 kB / 0.5608 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.025e-05/0.3616, allocations: 20.94 kB / 0.5608 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.3617, allocations: 0 / 0.5608 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.3617, allocations: 42.56 kB / 0.5609 GB, free: 3.699 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.3617, allocations: 0 / 0.5609 GB, free: 3.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009648/0.3626, allocations: 237.2 kB / 0.5611 GB, free: 3.461 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.3627, allocations: 55.41 kB / 0.5612 GB, free: 3.395 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.3629, allocations: 214.2 kB / 0.5614 GB, free: 3.176 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.363, allocations: 25.7 kB / 0.5614 GB, free: 3.145 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.956e-05/0.363, allocations: 112.1 kB / 0.5615 GB, free: 3.031 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.3631, allocations: 31.81 kB / 0.5615 GB, free: 3 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.3631, allocations: 17.72 kB / 0.5615 GB, free: 2.977 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.3633, allocations: 322.8 kB / 0.5618 GB, free: 2.652 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.926e-05/0.3634, allocations: 31.97 kB / 0.5619 GB, free: 2.621 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.096e-05/0.3634, allocations: 39.97 kB / 0.5619 GB, free: 2.582 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.3636, allocations: 72.77 kB / 0.562 GB, free: 2.508 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3636, allocations: 3.938 kB / 0.562 GB, free: 2.504 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002219/0.3638, allocations: 105.6 kB / 0.5621 GB, free: 2.395 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3638, allocations: 4 kB / 0.5621 GB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.3638, allocations: 3.938 kB / 0.5621 GB, free: 2.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.3639, allocations: 7.984 kB / 0.5621 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.364, allocations: 16 kB / 0.5621 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.364, allocations: 3.938 kB / 0.5621 GB, free: 2.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.713e-05/0.364, allocations: 11.98 kB / 0.5621 GB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.364, allocations: 3.938 kB / 0.5621 GB, free: 2.344 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.0001123/0.3642, allocations: 125.8 kB / 0.5623 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.742e-05/0.3642, allocations: 11.91 kB / 0.5623 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003301/0.3645, allocations: 139.3 kB / 0.5624 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3645, allocations: 3.984 kB / 0.5624 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.3645, allocations: 7.938 kB / 0.5624 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3645, allocations: 0 / 0.5624 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005742/0.3651, allocations: 382.4 kB / 0.5628 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3651, allocations: 0 / 0.5628 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.501e-05/0.3652, allocations: 23.86 kB / 0.5628 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.3652, allocations: 8.031 kB / 0.5628 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.3652, allocations: 4 kB / 0.5628 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3652, allocations: 3.984 kB / 0.5628 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3652, allocations: 0 / 0.5628 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.3655, allocations: 212.3 kB / 0.563 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.966e-05/0.3655, allocations: 12.27 kB / 0.563 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.3655, allocations: 12 kB / 0.563 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.565e-05/0.3656, allocations: 7.984 kB / 0.5631 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.3657, allocations: 7.922 kB / 0.5631 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.3657, allocations: 8 kB / 0.5631 GB, free: 1.297 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001549/0.3658, allocations: 164.2 kB / 0.5632 GB, free: 1.137 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3658, allocations: 0 / 0.5632 GB, free: 1.137 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.3661, allocations: 19.94 kB / 0.5632 GB, free: 1.117 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.002207/0.3683, allocations: 1.101 MB / 0.5643 GB, free: 176 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002535/0.3685, allocations: 71.89 kB / 0.5644 GB, free: 104 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3685, allocations: 0 / 0.5644 GB, free: 104 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.3686, allocations: 43.91 kB / 0.5644 GB, free: 60 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.369, allocations: 22.66 kB / 0.5645 GB, free: 44 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/0.3713, allocations: 1.728 MB / 0.5661 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/0.3717, allocations: 0.7119 MB / 0.5668 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.56e-05/0.3717, allocations: 20.66 kB / 0.5669 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.009e-05/0.3718, allocations: 31.42 kB / 0.5669 GB, free: 13.45 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3718, allocations: 0 / 0.5669 GB, free: 13.45 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02793/0.3997, allocations: 3.334 MB / 0.5701 GB, free: 10.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.5, allocations: 15.06 kB / 0.5702 GB, free: 10.15 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.Test16_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.697259956003109]