Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.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.00179/0.00179, allocations: 113.2 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.002002/0.002002, allocations: 210 kB / 23.74 MB, free: 4.543 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.553/1.553, allocations: 230.6 MB / 257.5 MB, free: 7.98 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.2287/0.2287, allocations: 44.92 MB / 358.8 MB, free: 6.27 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.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test28",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.002178/0.002178, allocations: 71.91 kB / 0.4931 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3654, allocations: 65.48 MB / 0.5571 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.004212/0.3696, allocations: 1.628 MB / 0.5586 GB, free: 6.133 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.3707, allocations: 0.5504 MB / 0.5592 GB, free: 5.578 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-05/0.3708, allocations: 4 kB / 0.5592 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002425/0.371, allocations: 111.6 kB / 0.5593 GB, free: 5.465 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003175/0.3713, allocations: 111.6 kB / 0.5594 GB, free: 5.355 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002839/0.3716, allocations: 99.69 kB / 0.5595 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.3718, allocations: 95.67 kB / 0.5596 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.3719, allocations: 13.81 kB / 0.5596 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.834e-05/0.372, allocations: 39.89 kB / 0.5596 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.3721, allocations: 79.73 kB / 0.5597 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.3721, allocations: 4 kB / 0.5597 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.3722, allocations: 39.98 kB / 0.5598 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.941e-05/0.3723, allocations: 31.86 kB / 0.5598 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.836e-05/0.3723, allocations: 35.67 kB / 0.5598 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.3726, allocations: 119.4 kB / 0.5599 GB, free: 4.809 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3726, allocations: 4 kB / 0.5599 GB, free: 4.805 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3726, allocations: 0 / 0.5599 GB, free: 4.805 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.3726, allocations: 0 / 0.5599 GB, free: 4.805 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.0005428/0.3731, allocations: 356.2 kB / 0.5603 GB, free: 4.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.3732, allocations: 12.03 kB / 0.5603 GB, free: 4.418 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.171e-05/0.3732, allocations: 34.75 kB / 0.5603 GB, free: 4.375 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.3732, allocations: 12.88 kB / 0.5603 GB, free: 4.363 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.3734, allocations: 155 kB / 0.5605 GB, free: 4.184 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.891e-06/0.3735, allocations: 384 / 0.5605 GB, free: 4.184 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.3735, allocations: 8.375 kB / 0.5605 GB, free: 4.176 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.3736, allocations: 57.61 kB / 0.5605 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.3737, allocations: 3.953 kB / 0.5605 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.3737, allocations: 0 / 0.5605 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3737, allocations: 0 / 0.5605 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.701e-05/0.3738, allocations: 27.97 kB / 0.5606 GB, free: 4.082 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.3742, allocations: 267.8 kB / 0.5608 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.3743, allocations: 46.56 kB / 0.5609 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.512e-05/0.3743, allocations: 16.94 kB / 0.5609 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.3744, allocations: 0 / 0.5609 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.3744, allocations: 42.56 kB / 0.5609 GB, free: 3.652 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3744, allocations: 0 / 0.5609 GB, free: 3.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009042/0.3753, allocations: 241.1 kB / 0.5612 GB, free: 3.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.3753, allocations: 51.41 kB / 0.5612 GB, free: 3.348 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002836/0.3756, allocations: 262.9 kB / 0.5615 GB, free: 3.078 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.3756, allocations: 25.7 kB / 0.5615 GB, free: 3.047 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.982e-05/0.3757, allocations: 112.1 kB / 0.5616 GB, free: 2.934 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.3758, allocations: 31.75 kB / 0.5616 GB, free: 2.902 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.3758, allocations: 21.7 kB / 0.5616 GB, free: 2.875 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3759, allocations: 326.8 kB / 0.562 GB, free: 2.547 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.085e-05/0.376, allocations: 23.98 kB / 0.562 GB, free: 2.523 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.737e-05/0.3761, allocations: 23.98 kB / 0.562 GB, free: 2.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.3762, allocations: 56.83 kB / 0.5621 GB, free: 2.441 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3762, allocations: 4 kB / 0.5621 GB, free: 2.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002109/0.3764, allocations: 117.4 kB / 0.5622 GB, free: 2.316 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.3765, allocations: 8 kB / 0.5622 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.3765, allocations: 0 / 0.5622 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3765, allocations: 0 / 0.5622 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.846e-05/0.3766, allocations: 16.41 kB / 0.5622 GB, free: 2.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.3766, allocations: 7.938 kB / 0.5622 GB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.041e-05/0.3766, allocations: 0 / 0.5622 GB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.3766, allocations: 4 kB / 0.5622 GB, free: 2.281 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.0001147/0.3768, allocations: 133.8 kB / 0.5623 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.3768, allocations: 15.91 kB / 0.5623 GB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003136/0.3771, allocations: 119 kB / 0.5625 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.3771, allocations: 7.984 kB / 0.5625 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.3771, allocations: 7.938 kB / 0.5625 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3771, allocations: 0 / 0.5625 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005314/0.3777, allocations: 386.7 kB / 0.5628 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3777, allocations: 0 / 0.5628 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.418e-05/0.3777, allocations: 19.92 kB / 0.5629 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3777, allocations: 0 / 0.5629 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.3777, allocations: 4 kB / 0.5629 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3777, allocations: 3.984 kB / 0.5629 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3778, allocations: 4.016 kB / 0.5629 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.378, allocations: 212.2 kB / 0.5631 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.02e-05/0.378, allocations: 15.89 kB / 0.5631 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.378, allocations: 8 kB / 0.5631 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.241e-05/0.3781, allocations: 4 kB / 0.5631 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-05/0.3782, allocations: 3.984 kB / 0.5631 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.3782, allocations: 4 kB / 0.5631 GB, free: 1.258 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001749/0.3783, allocations: 191.2 kB / 0.5633 GB, free: 1.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3783, allocations: 0 / 0.5633 GB, free: 1.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.3786, allocations: 23.94 kB / 0.5633 GB, free: 1.047 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.002252/0.3809, allocations: 1.099 MB / 0.5644 GB, free: 112 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002272/0.3811, allocations: 67.88 kB / 0.5645 GB, free: 44 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.3811, allocations: 4 kB / 0.5645 GB, free: 40 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.662e-05/0.3812, allocations: 27.98 kB / 0.5645 GB, free: 12 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/0.3816, allocations: 25.12 kB / 0.5645 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/0.3838, allocations: 1.757 MB / 0.5662 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.3841, allocations: 0.7158 MB / 0.5669 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.192e-05/0.3842, allocations: 12.95 kB / 0.5669 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.839e-05/0.3843, allocations: 39.42 kB / 0.567 GB, free: 13.34 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3843, allocations: 0 / 0.567 GB, free: 13.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03139/0.4157, allocations: 3.447 MB / 0.5703 GB, free: 9.949 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.4, allocations: 3.125 kB / 0.5703 GB, free: 9.949 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_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_CombiTable1Ds_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.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.CombiTable1Ds.Test28_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.6481921529994]