Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.001309/0.001309, 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.001498/0.001498, allocations: 214.4 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.571/1.571, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2338/0.2338, allocations: 44.92 MB / 358.8 MB, free: 6.273 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.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",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.00203/0.00203, allocations: 59.91 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3607, allocations: 65.48 MB / 0.557 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003485/0.3642, allocations: 1.641 MB / 0.5586 GB, free: 6.133 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.3654, allocations: 0.5767 MB / 0.5592 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.671e-05/0.3654, allocations: 4 kB / 0.5592 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006683/0.3661, allocations: 447.2 kB / 0.5596 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005411/0.3666, allocations: 303.3 kB / 0.5599 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000489/0.3671, allocations: 167.3 kB / 0.5601 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000306/0.3674, allocations: 179.6 kB / 0.5602 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.3675, allocations: 7.984 kB / 0.5603 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.3677, allocations: 111.8 kB / 0.5604 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003091/0.368, allocations: 259.4 kB / 0.5606 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.368, allocations: 0 / 0.5606 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.018e-05/0.3681, allocations: 27.98 kB / 0.5606 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.3682, allocations: 84.67 kB / 0.5607 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.998e-05/0.3683, allocations: 103 kB / 0.5608 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003467/0.3687, allocations: 264.5 kB / 0.5611 GB, free: 3.637 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3687, allocations: 0 / 0.5611 GB, free: 3.637 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3687, allocations: 0 / 0.5611 GB, free: 3.637 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.3687, allocations: 3.938 kB / 0.5611 GB, free: 3.633 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008596/0.3695, allocations: 0.5854 MB / 0.5616 GB, free: 3.016 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.3696, allocations: 12.03 kB / 0.5617 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.603e-05/0.3696, allocations: 38.73 kB / 0.5617 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.584e-05/0.3697, allocations: 48.66 kB / 0.5617 GB, free: 2.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/0.37, allocations: 246.8 kB / 0.562 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.712e-06/0.37, allocations: 4.375 kB / 0.562 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.37, allocations: 384 / 0.562 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.3702, allocations: 61.61 kB / 0.562 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3702, allocations: 0 / 0.562 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.066e-06/0.3702, allocations: 0 / 0.562 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3702, allocations: 0 / 0.562 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.3704, allocations: 43.91 kB / 0.5621 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005583/0.3709, allocations: 367.8 kB / 0.5624 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.3711, allocations: 46.55 kB / 0.5625 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.341e-05/0.3711, allocations: 20.94 kB / 0.5625 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.3711, allocations: 0 / 0.5625 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.3712, allocations: 42.5 kB / 0.5625 GB, free: 2 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.3712, allocations: 0 / 0.5625 GB, free: 2 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003541/0.3715, allocations: 129.3 kB / 0.5627 GB, free: 1.867 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.3716, allocations: 55.41 kB / 0.5627 GB, free: 1.801 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008642/0.3724, allocations: 0.8737 MB / 0.5636 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.3725, allocations: 25.7 kB / 0.5636 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.3727, allocations: 216.1 kB / 0.5638 GB, free: 0.668 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.3727, allocations: 11.91 kB / 0.5638 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.3727, allocations: 21.72 kB / 0.5638 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.3729, allocations: 362.7 kB / 0.5642 GB, free: 272 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.785e-05/0.373, allocations: 19.92 kB / 0.5642 GB, free: 252 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.881e-05/0.373, allocations: 19.98 kB / 0.5642 GB, free: 232 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.3732, allocations: 53.03 kB / 0.5643 GB, free: 176 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3732, allocations: 0 / 0.5643 GB, free: 176 kB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002063/0.3734, allocations: 117.4 kB / 0.5644 GB, free: 52 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.3734, allocations: 4 kB / 0.5644 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3734, allocations: 0 / 0.5644 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.3734, allocations: 0 / 0.5644 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.112e-05/0.3735, allocations: 11.98 kB / 0.5644 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.3735, allocations: 0 / 0.5644 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.119e-05/0.3736, allocations: 7.984 kB / 0.5644 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.3736, allocations: 0 / 0.5644 GB, free: 28 kB / 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 (3): * Single equations (assignments): 3 * 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.0002206/0.3738, allocations: 213.7 kB / 0.5646 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.289e-05/0.3739, allocations: 43.72 kB / 0.5646 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002813/0.3741, allocations: 133.1 kB / 0.5648 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.3741, allocations: 0 / 0.5648 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3741, allocations: 0 / 0.5648 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3741, allocations: 3.984 kB / 0.5648 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002965/0.3744, allocations: 260.6 kB / 0.565 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3744, allocations: 4 kB / 0.565 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.319e-05/0.3745, allocations: 11.98 kB / 0.565 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3745, allocations: 0 / 0.565 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.3745, allocations: 8 kB / 0.565 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3745, allocations: 0 / 0.565 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3745, allocations: 0 / 0.565 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.3748, allocations: 219.1 kB / 0.5653 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.186e-05/0.3749, allocations: 43.7 kB / 0.5653 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.3749, allocations: 0 / 0.5653 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.571e-05/0.375, allocations: 4 kB / 0.5653 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.417e-05/0.375, allocations: 0 / 0.5653 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.375, allocations: 7.984 kB / 0.5653 GB, free: 15.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006876/0.3757, allocations: 0.6511 MB / 0.5659 GB, free: 14.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3757, allocations: 0 / 0.5659 GB, free: 14.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000258/0.3759, allocations: 23.94 kB / 0.566 GB, free: 14.34 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 (3): * Single equations (assignments): 3 * 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.001792/0.3777, allocations: 1.009 MB / 0.5669 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002099/0.3779, allocations: 43.95 kB / 0.567 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3779, allocations: 0 / 0.567 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.695e-05/0.378, allocations: 19.98 kB / 0.567 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.3784, allocations: 26.3 kB / 0.567 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003864/0.3823, allocations: 3.221 MB / 0.5702 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004791/0.3827, allocations: 0.826 MB / 0.571 GB, free: 9.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.2e-05/0.3828, allocations: 19.8 kB / 0.571 GB, free: 9.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.383, allocations: 111.4 kB / 0.5711 GB, free: 9.055 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.383, allocations: 0 / 0.5711 GB, free: 9.055 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03212/0.4151, allocations: 5.982 MB / 0.577 GB, free: 3.141 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.86, allocations: 11.03 kB / 0.577 GB, free: 3.133 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_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_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable clock1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.151307181004086]