Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.001337/0.001337, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001445/0.001445, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.477/1.477, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.2409/0.2409, allocations: 44.91 MB / 359.6 MB, free: 6.289 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.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="cs",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.002084/0.002084, allocations: 63.89 kB / 0.4939 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3882, allocations: 65.48 MB / 0.5578 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003133/0.3914, allocations: 1.672 MB / 0.5594 GB, free: 6.086 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.3924, allocations: 0.5659 MB / 0.56 GB, free: 5.516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.799e-05/0.3925, allocations: 0 / 0.56 GB, free: 5.516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006052/0.3931, allocations: 459.1 kB / 0.5604 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005139/0.3936, allocations: 299.3 kB / 0.5607 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003592/0.394, allocations: 127.6 kB / 0.5608 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000261/0.3942, allocations: 175.7 kB / 0.561 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.3943, allocations: 17.8 kB / 0.561 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.3945, allocations: 111.7 kB / 0.5611 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003034/0.3948, allocations: 251.5 kB / 0.5614 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.3948, allocations: 4 kB / 0.5614 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.515e-05/0.3949, allocations: 35.94 kB / 0.5614 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.395, allocations: 79.69 kB / 0.5615 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.965e-05/0.3951, allocations: 114.9 kB / 0.5616 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003472/0.3955, allocations: 270.6 kB / 0.5619 GB, free: 3.609 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3955, allocations: 0 / 0.5619 GB, free: 3.609 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3955, allocations: 0 / 0.5619 GB, free: 3.609 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.3955, allocations: 0 / 0.5619 GB, free: 3.609 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.0008444/0.3963, allocations: 0.597 MB / 0.5624 GB, free: 2.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.3964, allocations: 12.03 kB / 0.5625 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.59e-05/0.3964, allocations: 4.172 kB / 0.5625 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.174e-05/0.3964, allocations: 34.69 kB / 0.5625 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.539e-05/0.3965, allocations: 48.66 kB / 0.5625 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.3968, allocations: 250.8 kB / 0.5628 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.3968, allocations: 384 / 0.5628 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.3968, allocations: 12.11 kB / 0.5628 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.397, allocations: 57.67 kB / 0.5628 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.397, allocations: 4 kB / 0.5628 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.397, allocations: 0 / 0.5628 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.397, allocations: 0 / 0.5628 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.3972, allocations: 39.91 kB / 0.5629 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005941/0.3978, allocations: 363.8 kB / 0.5632 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.3979, allocations: 38.56 kB / 0.5633 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.388e-05/0.398, allocations: 24.94 kB / 0.5633 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.398, allocations: 0 / 0.5633 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.3981, allocations: 42.55 kB / 0.5633 GB, free: 1.965 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.3981, allocations: 0 / 0.5633 GB, free: 1.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.00095/0.399, allocations: 300.6 kB / 0.5636 GB, free: 1.664 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.3991, allocations: 59.34 kB / 0.5637 GB, free: 1.594 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009964/0.4001, allocations: 0.8736 MB / 0.5645 GB, free: 0.707 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.4001, allocations: 29.7 kB / 0.5646 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.4003, allocations: 216.1 kB / 0.5648 GB, free: 468 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.4003, allocations: 19.81 kB / 0.5648 GB, free: 448 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/0.4004, allocations: 17.72 kB / 0.5648 GB, free: 424 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.4006, allocations: 366.8 kB / 0.5651 GB, free: 48 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.4007, allocations: 31.97 kB / 0.5652 GB, free: 16 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.4008, allocations: 35.97 kB / 0.5652 GB, free: 15.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/0.401, allocations: 73.03 kB / 0.5653 GB, free: 15.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.401, allocations: 0 / 0.5653 GB, free: 15.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003249/0.4014, allocations: 153.3 kB / 0.5654 GB, free: 15.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.4014, allocations: 7.938 kB / 0.5654 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4014, allocations: 0 / 0.5654 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.4014, allocations: 7.984 kB / 0.5654 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.4015, allocations: 15.98 kB / 0.5655 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.4015, allocations: 7.875 kB / 0.5655 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.317e-05/0.4016, allocations: 15.92 kB / 0.5655 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.4016, allocations: 0 / 0.5655 GB, free: 15.7 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.0002342/0.4019, allocations: 213.8 kB / 0.5657 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-05/0.4019, allocations: 43.72 kB / 0.5657 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000405/0.4023, allocations: 173.4 kB / 0.5659 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.4023, allocations: 0 / 0.5659 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.4023, allocations: 7.938 kB / 0.5659 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.4023, allocations: 0 / 0.5659 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006831/0.403, allocations: 473.5 kB / 0.5664 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.403, allocations: 0 / 0.5664 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.908e-05/0.4031, allocations: 19.98 kB / 0.5664 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.4031, allocations: 11.86 kB / 0.5664 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.4031, allocations: 0 / 0.5664 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4031, allocations: 0 / 0.5664 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4031, allocations: 4 kB / 0.5664 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003937/0.4035, allocations: 239.2 kB / 0.5666 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.873e-05/0.4036, allocations: 43.7 kB / 0.5667 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.4036, allocations: 3.938 kB / 0.5667 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.4037, allocations: 8 kB / 0.5667 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.4038, allocations: 12.27 kB / 0.5667 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.4038, allocations: 0 / 0.5667 GB, free: 14.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006782/0.4045, allocations: 0.6589 MB / 0.5673 GB, free: 13.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4045, allocations: 0 / 0.5673 GB, free: 13.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002789/0.4047, allocations: 24 kB / 0.5673 GB, free: 13.7 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.002342/0.4071, allocations: 1.096 MB / 0.5684 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002928/0.4074, allocations: 71.94 kB / 0.5685 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4074, allocations: 0 / 0.5685 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.4075, allocations: 47.91 kB / 0.5685 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.4079, allocations: 28.12 kB / 0.5686 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004302/0.4122, allocations: 3.327 MB / 0.5718 GB, free: 9.172 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005168/0.4127, allocations: 0.8298 MB / 0.5726 GB, free: 8.316 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.685e-05/0.4128, allocations: 12.97 kB / 0.5726 GB, free: 8.305 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.4129, allocations: 103.5 kB / 0.5727 GB, free: 8.203 MB / 414.1 MB Notification: Performance of SimCode: time 6.12e-07/0.4129, allocations: 3.938 kB / 0.5727 GB, free: 8.199 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/0.4426, allocations: 6.385 MB / 0.579 GB, free: 1.902 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.32, allocations: 14.23 kB / 0.579 GB, free: 1.891 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.497524456004612]