Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.001376/0.001376, allocations: 115.6 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.001605/0.001605, allocations: 213.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.468/1.468, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.2309/0.2309, allocations: 44.91 MB / 358.8 MB, free: 6.293 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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3",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.002126/0.002126, allocations: 63.91 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3289, allocations: 65.48 MB / 0.5571 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003202/0.3321, allocations: 1.696 MB / 0.5587 GB, free: 6.082 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.3332, allocations: 0.5737 MB / 0.5593 GB, free: 5.504 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.885e-05/0.3332, allocations: 0 / 0.5593 GB, free: 5.504 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006118/0.3339, allocations: 455.1 kB / 0.5597 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004895/0.3343, allocations: 299.3 kB / 0.56 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003796/0.3347, allocations: 131.4 kB / 0.5601 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002619/0.335, allocations: 179.6 kB / 0.5603 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.3351, allocations: 22.05 kB / 0.5603 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.3353, allocations: 111.7 kB / 0.5604 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00031/0.3356, allocations: 255.5 kB / 0.5607 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.3356, allocations: 4 kB / 0.5607 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.3357, allocations: 51.97 kB / 0.5607 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.3358, allocations: 91.62 kB / 0.5608 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.809e-05/0.3359, allocations: 99 kB / 0.5609 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003725/0.3363, allocations: 294.4 kB / 0.5612 GB, free: 3.551 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3363, allocations: 4 kB / 0.5612 GB, free: 3.547 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3363, allocations: 0 / 0.5612 GB, free: 3.547 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.3363, allocations: 0 / 0.5612 GB, free: 3.547 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008423/0.3372, allocations: 0.6009 MB / 0.5618 GB, free: 2.914 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.3372, allocations: 12.03 kB / 0.5618 GB, free: 2.902 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.306e-05/0.3372, allocations: 34.75 kB / 0.5618 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.098e-05/0.3373, allocations: 44.66 kB / 0.5618 GB, free: 2.816 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.3376, allocations: 242.8 kB / 0.5621 GB, free: 2.555 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.3376, allocations: 8.359 kB / 0.5621 GB, free: 2.547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.3376, allocations: 8.375 kB / 0.5621 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.3378, allocations: 69.48 kB / 0.5622 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3378, allocations: 0 / 0.5622 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.3378, allocations: 4 kB / 0.5622 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3378, allocations: 0 / 0.5622 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.338, allocations: 39.97 kB / 0.5622 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005313/0.3385, allocations: 387.7 kB / 0.5626 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.3387, allocations: 50.55 kB / 0.5626 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.689e-05/0.3388, allocations: 24.97 kB / 0.5626 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.3388, allocations: 3.938 kB / 0.5626 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.3389, allocations: 38.66 kB / 0.5627 GB, free: 1.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.253e-06/0.3389, allocations: 3.938 kB / 0.5627 GB, free: 1.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001525/0.3404, allocations: 476.2 kB / 0.5631 GB, free: 1.387 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.3405, allocations: 51.41 kB / 0.5632 GB, free: 1.324 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009259/0.3414, allocations: 0.8698 MB / 0.564 GB, free: 452 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.3414, allocations: 37.7 kB / 0.5641 GB, free: 408 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.3416, allocations: 216 kB / 0.5643 GB, free: 188 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/0.3416, allocations: 35.69 kB / 0.5643 GB, free: 152 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.212e-05/0.3417, allocations: 25.7 kB / 0.5643 GB, free: 120 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002197/0.3419, allocations: 358.8 kB / 0.5647 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.342, allocations: 43.97 kB / 0.5647 GB, free: 15.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.3422, allocations: 51.89 kB / 0.5648 GB, free: 15.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002729/0.3424, allocations: 100.8 kB / 0.5649 GB, free: 15.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3424, allocations: 0 / 0.5649 GB, free: 15.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003618/0.3428, allocations: 173.3 kB / 0.565 GB, free: 15.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.3428, allocations: 4 kB / 0.565 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3428, allocations: 7.938 kB / 0.565 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.3428, allocations: 3.938 kB / 0.5651 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.343, allocations: 23.98 kB / 0.5651 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.343, allocations: 4 kB / 0.5651 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.3431, allocations: 16.53 kB / 0.5651 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.3431, allocations: 4 kB / 0.5651 GB, free: 15.32 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 (11): * Single equations (assignments): 11 * 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.000259/0.3434, allocations: 221.6 kB / 0.5653 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.411e-05/0.3435, allocations: 51.67 kB / 0.5654 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004741/0.3439, allocations: 209.9 kB / 0.5656 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.344, allocations: 3.938 kB / 0.5656 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.344, allocations: 4 kB / 0.5656 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.344, allocations: 0 / 0.5656 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008938/0.3449, allocations: 0.5419 MB / 0.5661 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3449, allocations: 0 / 0.5661 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.345, allocations: 31.97 kB / 0.5661 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.345, allocations: 3.938 kB / 0.5661 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.345, allocations: 7.938 kB / 0.5661 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.345, allocations: 0 / 0.5661 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.345, allocations: 4 kB / 0.5661 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003845/0.3454, allocations: 289 kB / 0.5664 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.866e-05/0.3454, allocations: 35.67 kB / 0.5665 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.3455, allocations: 4 kB / 0.5665 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.3456, allocations: 19.98 kB / 0.5665 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.3456, allocations: 11.92 kB / 0.5665 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.3456, allocations: 0 / 0.5665 GB, free: 13.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006643/0.3463, allocations: 0.6589 MB / 0.5671 GB, free: 13.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3463, allocations: 0 / 0.5671 GB, free: 13.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002827/0.3466, allocations: 31.94 kB / 0.5672 GB, free: 13.11 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002439/0.349, allocations: 1.182 MB / 0.5683 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003122/0.3493, allocations: 103.9 kB / 0.5684 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3493, allocations: 0 / 0.5684 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.3495, allocations: 60.03 kB / 0.5685 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.3499, allocations: 27.98 kB / 0.5685 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004568/0.3545, allocations: 3.459 MB / 0.5719 GB, free: 8.336 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006214/0.3551, allocations: 0.8299 MB / 0.5727 GB, free: 7.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.864e-05/0.3552, allocations: 16.48 kB / 0.5727 GB, free: 7.465 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.3553, allocations: 111.4 kB / 0.5728 GB, free: 7.359 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3553, allocations: 0 / 0.5728 GB, free: 7.359 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03273/0.3881, allocations: 6.759 MB / 0.5794 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.38, allocations: 3.125 kB / 0.5794 GB, free: 0.6758 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.362142276018858]