Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.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.001347/0.001347, allocations: 112.5 kB / 21.22 MB, free: 0.75 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.00152/0.00152, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.527/1.527, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.2329/0.2329, allocations: 44.92 MB / 359.6 MB, free: 6.273 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.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test10",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test10",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.002021/0.002021, allocations: 67.91 kB / 0.4939 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3313, allocations: 65.47 MB / 0.5578 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.00312/0.3345, allocations: 1.673 MB / 0.5594 GB, free: 6.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.3364, allocations: 1.271 MB / 0.5607 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.648e-05/0.3365, allocations: 0 / 0.5607 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001766/0.3366, allocations: 23.84 kB / 0.5607 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002737/0.3369, allocations: 91.56 kB / 0.5608 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003221/0.3372, allocations: 131.4 kB / 0.5609 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.3374, allocations: 79.7 kB / 0.561 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.296e-05/0.3375, allocations: 9.828 kB / 0.561 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.086e-05/0.3375, allocations: 35.84 kB / 0.561 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.3377, allocations: 39.83 kB / 0.5611 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.3377, allocations: 4 kB / 0.5611 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.3379, allocations: 95.89 kB / 0.5612 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.925e-05/0.3379, allocations: 27.91 kB / 0.5612 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.177e-05/0.338, allocations: 27.8 kB / 0.5612 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002544/0.3382, allocations: 143.5 kB / 0.5614 GB, free: 4.121 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3382, allocations: 7.938 kB / 0.5614 GB, free: 4.113 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3382, allocations: 4 kB / 0.5614 GB, free: 4.109 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.3382, allocations: 0 / 0.5614 GB, free: 4.109 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.0005408/0.3388, allocations: 351.8 kB / 0.5617 GB, free: 3.738 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.3388, allocations: 8.031 kB / 0.5617 GB, free: 3.73 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.493e-05/0.3388, allocations: 4.188 kB / 0.5617 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.837e-05/0.3389, allocations: 34.75 kB / 0.5618 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.3389, allocations: 8.891 kB / 0.5618 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.3392, allocations: 138.3 kB / 0.5619 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.3392, allocations: 12.36 kB / 0.5619 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.3392, allocations: 8.078 kB / 0.5619 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.3394, allocations: 79.33 kB / 0.562 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.3394, allocations: 3.984 kB / 0.562 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.3394, allocations: 0 / 0.562 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.3394, allocations: 0 / 0.562 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.3396, allocations: 31.97 kB / 0.562 GB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004594/0.34, allocations: 263.9 kB / 0.5623 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.3402, allocations: 46.48 kB / 0.5623 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.863e-05/0.3402, allocations: 28.92 kB / 0.5623 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.3403, allocations: 0 / 0.5623 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.3403, allocations: 42.5 kB / 0.5624 GB, free: 2.934 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.3403, allocations: 0 / 0.5624 GB, free: 2.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008309/0.3411, allocations: 213.3 kB / 0.5626 GB, free: 2.719 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.506e-05/0.3412, allocations: 85.11 kB / 0.5627 GB, free: 2.617 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.3414, allocations: 150.1 kB / 0.5628 GB, free: 2.457 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.3414, allocations: 33.7 kB / 0.5628 GB, free: 2.418 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.831e-05/0.3415, allocations: 92.12 kB / 0.5629 GB, free: 2.324 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.3415, allocations: 31.75 kB / 0.563 GB, free: 2.293 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.013e-05/0.3416, allocations: 25.7 kB / 0.563 GB, free: 2.262 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3417, allocations: 314.8 kB / 0.5633 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.3418, allocations: 35.97 kB / 0.5633 GB, free: 1.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.342, allocations: 45.69 kB / 0.5634 GB, free: 1.859 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.3422, allocations: 76.97 kB / 0.5634 GB, free: 1.781 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3422, allocations: 0 / 0.5634 GB, free: 1.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002992/0.3425, allocations: 121.6 kB / 0.5636 GB, free: 1.656 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.3425, allocations: 8 kB / 0.5636 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3425, allocations: 0 / 0.5636 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.3425, allocations: 0 / 0.5636 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.3427, allocations: 19.98 kB / 0.5636 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.3427, allocations: 3.938 kB / 0.5636 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.391e-05/0.3427, allocations: 11.98 kB / 0.5636 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.3427, allocations: 0 / 0.5636 GB, free: 1.613 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 (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.0001203/0.3429, allocations: 125.8 kB / 0.5637 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.917e-05/0.3429, allocations: 7.953 kB / 0.5637 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003582/0.3433, allocations: 122.3 kB / 0.5638 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3433, allocations: 0 / 0.5638 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.3433, allocations: 3.938 kB / 0.5638 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.3433, allocations: 0 / 0.5638 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006017/0.3439, allocations: 373.5 kB / 0.5642 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3439, allocations: 0 / 0.5642 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.127e-05/0.344, allocations: 27.91 kB / 0.5642 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.327e-05/0.344, allocations: 3.938 kB / 0.5642 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.344, allocations: 4 kB / 0.5642 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.344, allocations: 0 / 0.5642 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.344, allocations: 7.938 kB / 0.5642 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003452/0.3443, allocations: 207.4 kB / 0.5644 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.3444, allocations: 15.94 kB / 0.5645 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.3444, allocations: 3.938 kB / 0.5645 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.983e-05/0.3445, allocations: 11.98 kB / 0.5645 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.3445, allocations: 11.98 kB / 0.5645 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.3445, allocations: 4 kB / 0.5645 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001098/0.3447, allocations: 120.8 kB / 0.5646 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3447, allocations: 0 / 0.5646 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000291/0.3449, allocations: 39.88 kB / 0.5646 GB, free: 468 kB / 398.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.002239/0.3472, allocations: 1.137 MB / 0.5657 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003178/0.3475, allocations: 79.88 kB / 0.5658 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3475, allocations: 0 / 0.5658 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.3476, allocations: 35.97 kB / 0.5659 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.348, allocations: 23.92 kB / 0.5659 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.3502, allocations: 1.593 MB / 0.5674 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/0.3505, allocations: 0.7002 MB / 0.5681 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.955e-05/0.3506, allocations: 16.95 kB / 0.5681 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.952e-05/0.3507, allocations: 31.42 kB / 0.5682 GB, free: 12.9 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3507, allocations: 0 / 0.5682 GB, free: 12.9 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02524/0.3759, allocations: 3.713 MB / 0.5718 GB, free: 9.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.72, allocations: 11.94 kB / 0.5718 GB, free: 9.219 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test10_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.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.908761992992368]