Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.001346/0.001346, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001521/0.001521, allocations: 214.1 kB / 24.52 MB, free: 3.941 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.481/1.481, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.2219/0.2219, allocations: 44.93 MB / 359.6 MB, free: 6.055 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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",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.00221/0.00221, allocations: 59.91 kB / 0.4938 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3513, allocations: 65.47 MB / 0.5577 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003169/0.3545, allocations: 1.606 MB / 0.5593 GB, free: 5.922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.3556, allocations: 0.5456 MB / 0.5598 GB, free: 5.371 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.24e-05/0.3556, allocations: 0 / 0.5598 GB, free: 5.371 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006677/0.3563, allocations: 451.1 kB / 0.5603 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005277/0.3568, allocations: 291.3 kB / 0.5605 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000486/0.3573, allocations: 171.2 kB / 0.5607 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.3576, allocations: 175.6 kB / 0.5609 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.3577, allocations: 8 kB / 0.5609 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.3578, allocations: 111.8 kB / 0.561 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002968/0.3581, allocations: 247.5 kB / 0.5612 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.3582, allocations: 4 kB / 0.5612 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.089e-05/0.3582, allocations: 31.92 kB / 0.5613 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.3584, allocations: 84.61 kB / 0.5613 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.745e-05/0.3584, allocations: 67.25 kB / 0.5614 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003663/0.3588, allocations: 268.5 kB / 0.5617 GB, free: 3.504 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3588, allocations: 0 / 0.5617 GB, free: 3.504 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3588, allocations: 0 / 0.5617 GB, free: 3.504 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.3588, allocations: 0 / 0.5617 GB, free: 3.504 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.0007846/0.3596, allocations: 0.5854 MB / 0.5622 GB, free: 2.887 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3597, allocations: 8.031 kB / 0.5622 GB, free: 2.879 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.111e-05/0.3597, allocations: 4.125 kB / 0.5622 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.337e-05/0.3597, allocations: 34.75 kB / 0.5623 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.668e-05/0.3598, allocations: 40.66 kB / 0.5623 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.3601, allocations: 246.8 kB / 0.5626 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.3601, allocations: 8.375 kB / 0.5626 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.3601, allocations: 4.125 kB / 0.5626 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.3602, allocations: 49.69 kB / 0.5626 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.3602, allocations: 0 / 0.5626 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.3603, allocations: 7.938 kB / 0.5626 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3603, allocations: 0 / 0.5626 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.421e-05/0.3604, allocations: 35.91 kB / 0.5627 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005029/0.3609, allocations: 347.9 kB / 0.563 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.017e-05/0.3609, allocations: 30.56 kB / 0.563 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.301e-05/0.361, allocations: 16.91 kB / 0.563 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.361, allocations: 4 kB / 0.563 GB, free: 1.973 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.3611, allocations: 30.56 kB / 0.5631 GB, free: 1.934 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3611, allocations: 4 kB / 0.5631 GB, free: 1.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002811/0.3613, allocations: 113.3 kB / 0.5632 GB, free: 1.812 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.3614, allocations: 51.41 kB / 0.5632 GB, free: 1.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.3624, allocations: 0.8737 MB / 0.5641 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.3624, allocations: 33.69 kB / 0.5641 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.3626, allocations: 224.1 kB / 0.5643 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.3626, allocations: 7.891 kB / 0.5643 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.3627, allocations: 13.72 kB / 0.5643 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.3629, allocations: 366.7 kB / 0.5647 GB, free: 212 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.412e-05/0.3629, allocations: 12.12 kB / 0.5647 GB, free: 200 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.965e-05/0.363, allocations: 11.98 kB / 0.5647 GB, free: 188 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.501e-05/0.3631, allocations: 32.78 kB / 0.5647 GB, free: 152 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3631, allocations: 0 / 0.5647 GB, free: 152 kB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001634/0.3632, allocations: 93.39 kB / 0.5648 GB, free: 52 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.3633, allocations: 10.34 kB / 0.5648 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3633, allocations: 0 / 0.5648 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.3633, allocations: 4.094 kB / 0.5649 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.522e-05/0.3634, allocations: 4 kB / 0.5649 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3634, allocations: 0 / 0.5649 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.541e-05/0.3634, allocations: 7.984 kB / 0.5649 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.3634, allocations: 3.938 kB / 0.5649 GB, free: 24 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 (2): * Single equations (assignments): 2 * 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.0002149/0.3636, allocations: 209.8 kB / 0.5651 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.516e-05/0.3637, allocations: 47.67 kB / 0.5651 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000234/0.3639, allocations: 116.8 kB / 0.5652 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.3639, allocations: 0 / 0.5652 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3639, allocations: 4.031 kB / 0.5652 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3639, allocations: 0 / 0.5652 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002976/0.3642, allocations: 256.6 kB / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3642, allocations: 3.938 kB / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.576e-05/0.3643, allocations: 8 kB / 0.5655 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3643, allocations: 0 / 0.5655 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.3643, allocations: 0 / 0.5655 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3643, allocations: 0 / 0.5655 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.3643, allocations: 4 kB / 0.5655 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.3645, allocations: 199.1 kB / 0.5657 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-05/0.3646, allocations: 39.75 kB / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.3646, allocations: 0 / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.832e-05/0.3647, allocations: 3.984 kB / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.738e-05/0.3647, allocations: 4 kB / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.3647, allocations: 4 kB / 0.5657 GB, free: 15.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006893/0.3654, allocations: 0.6628 MB / 0.5664 GB, free: 14.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3654, allocations: 0 / 0.5664 GB, free: 14.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.3656, allocations: 16 kB / 0.5664 GB, free: 14.39 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 (2): * Single equations (assignments): 2 * 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.001871/0.3675, allocations: 0.9897 MB / 0.5674 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001596/0.3677, allocations: 27.92 kB / 0.5674 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3677, allocations: 0 / 0.5674 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.326e-05/0.3677, allocations: 16.05 kB / 0.5674 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004486/0.3682, allocations: 29.42 kB / 0.5674 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003764/0.3719, allocations: 3.191 MB / 0.5705 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.3722, allocations: 220.1 kB / 0.5708 GB, free: 9.941 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.747e-05/0.3722, allocations: 11.75 kB / 0.5708 GB, free: 9.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.3724, allocations: 119.4 kB / 0.5709 GB, free: 9.812 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3724, allocations: 0 / 0.5709 GB, free: 9.812 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02787/0.4003, allocations: 6.041 MB / 0.5768 GB, free: 3.828 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.29, allocations: 9.812 kB / 0.5768 GB, free: 3.824 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.434486437938176]