Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001279/0.001279, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001415/0.001415, allocations: 211.1 kB / 23.73 MB, free: 4.387 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.443/1.443, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2289/0.2289, allocations: 46.97 MB / 360.9 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 71.89 kB / 0.4961 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3187, allocations: 66.04 MB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003629/0.3223, allocations: 1.652 MB / 0.5622 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.3235, allocations: 0.5271 MB / 0.5627 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.776e-05/0.3235, allocations: 7.938 kB / 0.5627 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006138/0.3242, allocations: 455.1 kB / 0.5632 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005486/0.3247, allocations: 299.3 kB / 0.5635 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004011/0.3251, allocations: 131.4 kB / 0.5636 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002981/0.3254, allocations: 175.6 kB / 0.5638 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.3255, allocations: 9.828 kB / 0.5638 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.3257, allocations: 111.8 kB / 0.5639 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003195/0.326, allocations: 251.4 kB / 0.5641 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.258e-05/0.326, allocations: 4 kB / 0.5641 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.3262, allocations: 43.97 kB / 0.5642 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.3263, allocations: 79.69 kB / 0.5642 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.45e-05/0.3264, allocations: 71.25 kB / 0.5643 GB, free: 452 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004481/0.3268, allocations: 278.5 kB / 0.5646 GB, free: 172 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3268, allocations: 0 / 0.5646 GB, free: 172 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3268, allocations: 3.938 kB / 0.5646 GB, free: 168 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.3268, allocations: 0 / 0.5646 GB, free: 168 kB / 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.0009015/0.3277, allocations: 0.5931 MB / 0.5652 GB, free: 15.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.3278, allocations: 8.031 kB / 0.5652 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.762e-05/0.3278, allocations: 34.75 kB / 0.5652 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.389e-05/0.3279, allocations: 48.66 kB / 0.5652 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.3282, allocations: 246.8 kB / 0.5655 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.422e-06/0.3282, allocations: 384 / 0.5655 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.3283, allocations: 4.375 kB / 0.5655 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.3284, allocations: 65.55 kB / 0.5655 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3284, allocations: 0 / 0.5655 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.3285, allocations: 3.984 kB / 0.5655 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.3285, allocations: 0 / 0.5655 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.3286, allocations: 39.97 kB / 0.5656 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005261/0.3291, allocations: 359.8 kB / 0.5659 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.3293, allocations: 50.48 kB / 0.566 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.81e-05/0.3293, allocations: 16.94 kB / 0.566 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.3293, allocations: 0 / 0.566 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.3294, allocations: 38.56 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.3294, allocations: 0 / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008705/0.3303, allocations: 292.9 kB / 0.5663 GB, free: 14.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.3303, allocations: 51.41 kB / 0.5664 GB, free: 14.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009879/0.3313, allocations: 0.8775 MB / 0.5672 GB, free: 13.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.3313, allocations: 29.7 kB / 0.5672 GB, free: 13.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.3315, allocations: 216.1 kB / 0.5675 GB, free: 13.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.3315, allocations: 23.81 kB / 0.5675 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.778e-05/0.3316, allocations: 29.64 kB / 0.5675 GB, free: 12.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.3317, allocations: 354.8 kB / 0.5678 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.3319, allocations: 43.97 kB / 0.5679 GB, free: 12.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.332, allocations: 31.97 kB / 0.5679 GB, free: 12.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.3322, allocations: 72.81 kB / 0.568 GB, free: 12.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3322, allocations: 0 / 0.568 GB, free: 12.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000316/0.3325, allocations: 153.5 kB / 0.5681 GB, free: 12.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.3325, allocations: 4 kB / 0.5681 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3325, allocations: 0 / 0.5681 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.3326, allocations: 3.984 kB / 0.5681 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.3327, allocations: 19.98 kB / 0.5682 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.3327, allocations: 4.062 kB / 0.5682 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.009e-05/0.3328, allocations: 23.86 kB / 0.5682 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.3328, allocations: 0 / 0.5682 GB, free: 12.27 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.0002101/0.333, allocations: 209.8 kB / 0.5684 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.911e-05/0.3331, allocations: 47.7 kB / 0.5684 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003857/0.3335, allocations: 169.4 kB / 0.5686 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.3335, allocations: 4 kB / 0.5686 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3335, allocations: 0 / 0.5686 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.3335, allocations: 7.938 kB / 0.5686 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007304/0.3342, allocations: 469.5 kB / 0.569 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.3342, allocations: 0 / 0.569 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.005e-05/0.3343, allocations: 19.98 kB / 0.5691 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3343, allocations: 0 / 0.5691 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.3343, allocations: 3.938 kB / 0.5691 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3343, allocations: 0 / 0.5691 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.3343, allocations: 4 kB / 0.5691 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003563/0.3347, allocations: 251.2 kB / 0.5693 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.235e-05/0.3347, allocations: 35.72 kB / 0.5693 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.308e-05/0.3348, allocations: 3.938 kB / 0.5694 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.3349, allocations: 11.98 kB / 0.5694 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.3349, allocations: 11.92 kB / 0.5694 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.3349, allocations: 7.938 kB / 0.5694 GB, free: 10.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006808/0.3356, allocations: 0.655 MB / 0.57 GB, free: 10.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3356, allocations: 4 kB / 0.57 GB, free: 10.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.3359, allocations: 24 kB / 0.57 GB, free: 10.27 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.002198/0.3381, allocations: 1.112 MB / 0.5711 GB, free: 9.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002945/0.3384, allocations: 79.88 kB / 0.5712 GB, free: 9.242 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.3384, allocations: 0 / 0.5712 GB, free: 9.242 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.3385, allocations: 35.97 kB / 0.5712 GB, free: 9.207 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/0.339, allocations: 28.23 kB / 0.5713 GB, free: 9.184 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004293/0.3432, allocations: 3.339 MB / 0.5745 GB, free: 5.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.3435, allocations: 220.1 kB / 0.5747 GB, free: 5.516 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.302e-05/0.3436, allocations: 8.672 kB / 0.5748 GB, free: 5.508 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.3437, allocations: 115.4 kB / 0.5749 GB, free: 5.395 MB / 414.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3437, allocations: 0 / 0.5749 GB, free: 5.395 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03537/0.3791, allocations: 6.693 MB / 0.5814 GB, free: 14.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.54, allocations: 6.906 kB / 0.5814 GB, free: 14.74 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test6_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test6.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 14.476888126693666]