Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.001705/0.001705, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002107/0.002107, allocations: 214 kB / 24.52 MB, free: 3.914 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.514/1.514, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.22/0.22, allocations: 44.93 MB / 359.6 MB, free: 6.059 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.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",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.001964/0.001964, allocations: 67.89 kB / 0.4938 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3273, allocations: 65.47 MB / 0.5577 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003152/0.3304, allocations: 1.686 MB / 0.5594 GB, free: 5.828 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.3315, allocations: 0.5426 MB / 0.5599 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.048e-05/0.3315, allocations: 4 kB / 0.5599 GB, free: 5.277 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.3317, allocations: 19.86 kB / 0.5599 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003022/0.332, allocations: 83.55 kB / 0.56 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003402/0.3324, allocations: 143.4 kB / 0.5602 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.3326, allocations: 91.7 kB / 0.5602 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.935e-05/0.3327, allocations: 21.75 kB / 0.5603 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.305e-05/0.3327, allocations: 39.84 kB / 0.5603 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.991e-05/0.3328, allocations: 39.84 kB / 0.5603 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.3328, allocations: 4 kB / 0.5603 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000186/0.333, allocations: 103.9 kB / 0.5604 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.669e-05/0.3331, allocations: 27.84 kB / 0.5605 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.514e-05/0.3331, allocations: 31.8 kB / 0.5605 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002837/0.3334, allocations: 163.4 kB / 0.5607 GB, free: 4.527 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.3334, allocations: 4 kB / 0.5607 GB, free: 4.523 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3334, allocations: 0 / 0.5607 GB, free: 4.523 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.3334, allocations: 0 / 0.5607 GB, free: 4.523 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.0006583/0.3341, allocations: 377.4 kB / 0.561 GB, free: 4.125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.3341, allocations: 12.03 kB / 0.561 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.308e-05/0.3341, allocations: 4.125 kB / 0.561 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.518e-05/0.3342, allocations: 38.75 kB / 0.5611 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.228e-05/0.3342, allocations: 12.89 kB / 0.5611 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.3345, allocations: 144 kB / 0.5612 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.3345, allocations: 8.375 kB / 0.5612 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.3345, allocations: 8.125 kB / 0.5612 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002953/0.3348, allocations: 113.1 kB / 0.5613 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3348, allocations: 0 / 0.5613 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.3348, allocations: 4 kB / 0.5614 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3348, allocations: 0 / 0.5614 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002899/0.3351, allocations: 71.86 kB / 0.5614 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004885/0.3356, allocations: 271.9 kB / 0.5617 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.3358, allocations: 74.41 kB / 0.5617 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.336, allocations: 44.94 kB / 0.5618 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.336, allocations: 0 / 0.5618 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.3361, allocations: 38.56 kB / 0.5618 GB, free: 3.184 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.3361, allocations: 0 / 0.5618 GB, free: 3.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001531/0.3376, allocations: 392.9 kB / 0.5622 GB, free: 2.793 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.3376, allocations: 81.11 kB / 0.5623 GB, free: 2.695 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.3378, allocations: 165.8 kB / 0.5624 GB, free: 2.523 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.3378, allocations: 25.7 kB / 0.5625 GB, free: 2.492 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.815e-05/0.3379, allocations: 104.1 kB / 0.5626 GB, free: 2.387 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.338, allocations: 31.7 kB / 0.5626 GB, free: 2.355 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.475e-05/0.338, allocations: 25.7 kB / 0.5626 GB, free: 2.324 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3381, allocations: 326.8 kB / 0.5629 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/0.3384, allocations: 67.86 kB / 0.563 GB, free: 1.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/0.3387, allocations: 115.3 kB / 0.5631 GB, free: 1.805 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005041/0.3392, allocations: 140.7 kB / 0.5632 GB, free: 1.664 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3392, allocations: 32 / 0.5632 GB, free: 1.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005982/0.3398, allocations: 197.7 kB / 0.5634 GB, free: 1.465 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3398, allocations: 6.188 kB / 0.5634 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3398, allocations: 4.094 kB / 0.5634 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3398, allocations: 7.938 kB / 0.5634 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.3401, allocations: 35.95 kB / 0.5635 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.3401, allocations: 7.875 kB / 0.5635 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.3402, allocations: 27.97 kB / 0.5635 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.3402, allocations: 4 kB / 0.5635 GB, free: 1.375 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 (10): * Single equations (assignments): 10 * 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.0001011/0.3403, allocations: 117.8 kB / 0.5636 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.906e-05/0.3404, allocations: 11.91 kB / 0.5636 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006453/0.341, allocations: 206.2 kB / 0.5638 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.341, allocations: 4 kB / 0.5638 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.341, allocations: 3.938 kB / 0.5638 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.654e-06/0.341, allocations: 384 / 0.5638 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009159/0.342, allocations: 453.5 kB / 0.5643 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.342, allocations: 7.938 kB / 0.5643 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.3422, allocations: 39.95 kB / 0.5643 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3422, allocations: 0 / 0.5643 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.3422, allocations: 11.94 kB / 0.5643 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3422, allocations: 0 / 0.5643 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.3422, allocations: 3.984 kB / 0.5643 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006399/0.3428, allocations: 291.2 kB / 0.5646 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.47e-05/0.3429, allocations: 15.83 kB / 0.5646 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.3429, allocations: 4 kB / 0.5646 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.3431, allocations: 23.95 kB / 0.5647 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.957e-05/0.3431, allocations: 12.27 kB / 0.5647 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.3431, allocations: 4 kB / 0.5647 GB, free: 108 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001343/0.3433, allocations: 123.2 kB / 0.5648 GB, free: 15.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3433, allocations: 3.938 kB / 0.5648 GB, free: 15.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003099/0.3436, allocations: 51.86 kB / 0.5648 GB, free: 15.93 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 (9): * Single equations (assignments): 9 * 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.002717/0.3463, allocations: 1.249 MB / 0.5661 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006142/0.3469, allocations: 159.8 kB / 0.5662 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3469, allocations: 0 / 0.5662 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002882/0.3472, allocations: 83.84 kB / 0.5663 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.3476, allocations: 23 kB / 0.5663 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003051/0.3506, allocations: 1.849 MB / 0.5681 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.26e-05/0.3507, allocations: 89.25 kB / 0.5682 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001074/0.3508, allocations: 16.48 kB / 0.5682 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.3509, allocations: 43.41 kB / 0.5683 GB, free: 12.52 MB / 414.1 MB Notification: Performance of SimCode: time 6.72e-07/0.3509, allocations: 0 / 0.5683 GB, free: 12.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0268/0.3777, allocations: 4.615 MB / 0.5728 GB, free: 7.949 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.26, allocations: 0.9375 kB / 0.5728 GB, free: 7.949 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.499494414078072]