Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.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.001837/0.001837, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002357/0.002357, allocations: 212.4 kB / 23.73 MB, free: 4.16 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.526/1.526, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2289/0.2289, allocations: 44.92 MB / 358.8 MB, free: 6.141 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.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22",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.002117/0.002117, allocations: 67.89 kB / 0.493 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3323, allocations: 65.48 MB / 0.557 GB, free: 7.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003695/0.336, allocations: 1.951 MB / 0.5589 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002239/0.3383, allocations: 1.205 MB / 0.5601 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.3384, allocations: 4 kB / 0.5601 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002208/0.3386, allocations: 43.59 kB / 0.5601 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004692/0.339, allocations: 215.1 kB / 0.5603 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000921/0.34, allocations: 438.1 kB / 0.5607 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003697/0.3403, allocations: 303.1 kB / 0.561 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.3405, allocations: 48.84 kB / 0.5611 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.3407, allocations: 135.4 kB / 0.5612 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002562/0.341, allocations: 195.2 kB / 0.5614 GB, free: 2.992 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.75e-05/0.341, allocations: 15.94 kB / 0.5614 GB, free: 2.977 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.3412, allocations: 67.98 kB / 0.5615 GB, free: 2.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.3413, allocations: 143.5 kB / 0.5616 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.3415, allocations: 130.9 kB / 0.5617 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004958/0.342, allocations: 407.9 kB / 0.5621 GB, free: 2.242 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.342, allocations: 0 / 0.5621 GB, free: 2.242 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.342, allocations: 4 kB / 0.5621 GB, free: 2.238 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.342, allocations: 0 / 0.5621 GB, free: 2.238 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001077/0.3431, allocations: 0.7469 MB / 0.5628 GB, free: 1.461 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.3431, allocations: 8.031 kB / 0.5629 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.875e-05/0.3432, allocations: 46.67 kB / 0.5629 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00027/0.3434, allocations: 76.5 kB / 0.563 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006647/0.3441, allocations: 426.4 kB / 0.5634 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.3441, allocations: 8.375 kB / 0.5634 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.329e-05/0.3441, allocations: 11.94 kB / 0.5634 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.3444, allocations: 125 kB / 0.5635 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.3444, allocations: 7.938 kB / 0.5635 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.3444, allocations: 4 kB / 0.5635 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.3444, allocations: 4 kB / 0.5635 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.3446, allocations: 75.88 kB / 0.5636 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009817/0.3456, allocations: 0.6286 MB / 0.5642 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002345/0.3458, allocations: 101.2 kB / 0.5643 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.864e-05/0.3459, allocations: 41.83 kB / 0.5644 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.664e-05/0.346, allocations: 7.734 kB / 0.5644 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.346, allocations: 38.56 kB / 0.5644 GB, free: 15.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.346, allocations: 3.938 kB / 0.5644 GB, free: 15.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.00142/0.3474, allocations: 0.5197 MB / 0.5649 GB, free: 15.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/0.3475, allocations: 89.03 kB / 0.565 GB, free: 15.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.3486, allocations: 0.9259 MB / 0.5659 GB, free: 14.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.3486, allocations: 25.7 kB / 0.5659 GB, free: 14.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/0.3489, allocations: 264.4 kB / 0.5662 GB, free: 13.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.586e-05/0.3489, allocations: 51.53 kB / 0.5662 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.274e-05/0.349, allocations: 33.7 kB / 0.5663 GB, free: 13.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.3492, allocations: 382.7 kB / 0.5666 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.3493, allocations: 59.95 kB / 0.5667 GB, free: 13.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.3495, allocations: 68.5 kB / 0.5667 GB, free: 13.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.3499, allocations: 133.7 kB / 0.5669 GB, free: 13.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3499, allocations: 0 / 0.5669 GB, free: 13.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004746/0.3503, allocations: 233.1 kB / 0.5671 GB, free: 12.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.3504, allocations: 8 kB / 0.5671 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.3504, allocations: 4.375 kB / 0.5671 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.3504, allocations: 0 / 0.5671 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.3506, allocations: 44.12 kB / 0.5672 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3506, allocations: 0 / 0.5672 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.3507, allocations: 19.86 kB / 0.5672 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.3507, allocations: 15.98 kB / 0.5672 GB, free: 12.81 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0002259/0.351, allocations: 209.7 kB / 0.5674 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.3511, allocations: 59.62 kB / 0.5674 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005965/0.3517, allocations: 266.4 kB / 0.5677 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.3517, allocations: 4 kB / 0.5677 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3517, allocations: 0 / 0.5677 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3517, allocations: 4 kB / 0.5677 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.3529, allocations: 0.7269 MB / 0.5684 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.3529, allocations: 3.984 kB / 0.5684 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.353, allocations: 39.97 kB / 0.5685 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.353, allocations: 0 / 0.5685 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.353, allocations: 7.938 kB / 0.5685 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3531, allocations: 4 kB / 0.5685 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3531, allocations: 0 / 0.5685 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005908/0.3536, allocations: 406.6 kB / 0.5689 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/0.3538, allocations: 75.59 kB / 0.5689 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.544e-05/0.3539, allocations: 15.92 kB / 0.5689 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002508/0.3541, allocations: 12 kB / 0.569 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/0.3542, allocations: 15.97 kB / 0.569 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.3542, allocations: 4 kB / 0.569 GB, free: 10.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008332/0.355, allocations: 0.6786 MB / 0.5696 GB, free: 10.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.355, allocations: 0 / 0.5696 GB, free: 10.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003628/0.3554, allocations: 52 kB / 0.5697 GB, free: 10.16 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.002416/0.3578, allocations: 1.267 MB / 0.5709 GB, free: 9.055 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004242/0.3582, allocations: 143.8 kB / 0.5711 GB, free: 8.914 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.3582, allocations: 4 kB / 0.5711 GB, free: 8.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.3584, allocations: 75.88 kB / 0.5711 GB, free: 8.836 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005957/0.359, allocations: 81.92 kB / 0.5712 GB, free: 8.762 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006822/0.3659, allocations: 5.036 MB / 0.5761 GB, free: 3.641 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.3662, allocations: 265.4 kB / 0.5764 GB, free: 3.359 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003198/0.3666, allocations: 79.84 kB / 0.5765 GB, free: 3.281 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003728/0.3669, allocations: 175.4 kB / 0.5766 GB, free: 3.109 MB / 414.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3669, allocations: 3.938 kB / 0.5766 GB, free: 3.105 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0529/0.4198, allocations: 10.7 MB / 0.5871 GB, free: 8.461 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.04, allocations: 12.92 kB / 0.5871 GB, free: 8.457 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.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.31061514094472]