Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.001441/0.001441, allocations: 112.2 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.001487/0.001487, allocations: 206.1 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.469/1.469, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.2291/0.2291, allocations: 44.92 MB / 359.6 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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2",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.002072/0.002072, allocations: 67.89 kB / 0.4939 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3065, allocations: 65.47 MB / 0.5578 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003314/0.3098, allocations: 1.696 MB / 0.5595 GB, free: 6.074 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.3109, allocations: 0.5621 MB / 0.56 GB, free: 5.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.005e-05/0.311, allocations: 4 kB / 0.56 GB, free: 5.504 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006552/0.3116, allocations: 467 kB / 0.5605 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005006/0.3121, allocations: 287.3 kB / 0.5607 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003699/0.3125, allocations: 135.4 kB / 0.5609 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000241/0.3127, allocations: 171.7 kB / 0.561 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.3129, allocations: 21.8 kB / 0.5611 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.313, allocations: 115.7 kB / 0.5612 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002896/0.3133, allocations: 247.5 kB / 0.5614 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.3133, allocations: 4 kB / 0.5614 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.3134, allocations: 51.97 kB / 0.5615 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.3136, allocations: 83.64 kB / 0.5615 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.3137, allocations: 115 kB / 0.5616 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003764/0.3141, allocations: 282.4 kB / 0.5619 GB, free: 3.566 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3141, allocations: 0 / 0.5619 GB, free: 3.566 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3141, allocations: 0 / 0.5619 GB, free: 3.566 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.3141, allocations: 0 / 0.5619 GB, free: 3.566 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.0007924/0.3149, allocations: 0.5931 MB / 0.5625 GB, free: 2.941 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.3149, allocations: 12.03 kB / 0.5625 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.378e-05/0.3149, allocations: 192 / 0.5625 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.005e-05/0.3149, allocations: 38.75 kB / 0.5625 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.226e-05/0.315, allocations: 44.66 kB / 0.5626 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/0.3154, allocations: 250.7 kB / 0.5628 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.3154, allocations: 8.375 kB / 0.5628 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.3154, allocations: 8.062 kB / 0.5628 GB, free: 2.555 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.3155, allocations: 57.67 kB / 0.5629 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3155, allocations: 0 / 0.5629 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.3156, allocations: 0 / 0.5629 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.3156, allocations: 4 kB / 0.5629 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.3157, allocations: 39.91 kB / 0.5629 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005197/0.3162, allocations: 363.8 kB / 0.5633 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.3163, allocations: 42.59 kB / 0.5633 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.574e-05/0.3164, allocations: 20.8 kB / 0.5633 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.3164, allocations: 0 / 0.5633 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.3164, allocations: 42.64 kB / 0.5634 GB, free: 1.926 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.3164, allocations: 0 / 0.5634 GB, free: 1.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000976/0.3174, allocations: 320.7 kB / 0.5637 GB, free: 1.605 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.3174, allocations: 55.41 kB / 0.5637 GB, free: 1.539 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009365/0.3184, allocations: 0.8738 MB / 0.5646 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.3184, allocations: 25.7 kB / 0.5646 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.3186, allocations: 224.1 kB / 0.5648 GB, free: 408 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.3186, allocations: 27.75 kB / 0.5649 GB, free: 380 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-05/0.3187, allocations: 21.72 kB / 0.5649 GB, free: 352 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002048/0.3189, allocations: 362.8 kB / 0.5652 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.561e-05/0.3189, allocations: 27.98 kB / 0.5653 GB, free: 15.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.124e-05/0.319, allocations: 27.97 kB / 0.5653 GB, free: 15.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.3192, allocations: 65 kB / 0.5653 GB, free: 15.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3192, allocations: 0 / 0.5653 GB, free: 15.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002558/0.3194, allocations: 137.4 kB / 0.5655 GB, free: 15.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.3194, allocations: 4 kB / 0.5655 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3194, allocations: 0 / 0.5655 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.3195, allocations: 3.938 kB / 0.5655 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.3196, allocations: 23.98 kB / 0.5655 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.319e-06/0.3196, allocations: 0 / 0.5655 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.464e-05/0.3196, allocations: 4 kB / 0.5655 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.3196, allocations: 11.92 kB / 0.5655 GB, free: 15.67 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 (8): * Single equations (assignments): 8 * 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.0002015/0.3198, allocations: 209.8 kB / 0.5657 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.595e-05/0.3199, allocations: 47.67 kB / 0.5658 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003399/0.3203, allocations: 165.5 kB / 0.5659 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.3203, allocations: 7.938 kB / 0.5659 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3203, allocations: 7.922 kB / 0.5659 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3203, allocations: 0 / 0.5659 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006596/0.3209, allocations: 482.2 kB / 0.5664 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3209, allocations: 0 / 0.5664 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.386e-05/0.321, allocations: 23.92 kB / 0.5664 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.321, allocations: 4.031 kB / 0.5664 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.321, allocations: 0 / 0.5664 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.321, allocations: 3.938 kB / 0.5664 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.321, allocations: 4 kB / 0.5664 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003243/0.3214, allocations: 236 kB / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.196e-05/0.3214, allocations: 47.7 kB / 0.5667 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.3214, allocations: 0 / 0.5667 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.391e-05/0.3215, allocations: 4 kB / 0.5667 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.449e-05/0.3216, allocations: 11.92 kB / 0.5667 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.3216, allocations: 8 kB / 0.5667 GB, free: 14.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006678/0.3222, allocations: 0.6589 MB / 0.5674 GB, free: 13.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3222, allocations: 0 / 0.5674 GB, free: 13.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.3225, allocations: 23.94 kB / 0.5674 GB, free: 13.66 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 (8): * Single equations (assignments): 8 * 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.002205/0.3247, allocations: 1.138 MB / 0.5685 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002355/0.325, allocations: 67.89 kB / 0.5686 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.325, allocations: 0 / 0.5686 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.378e-05/0.325, allocations: 35.92 kB / 0.5686 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/0.3255, allocations: 31.86 kB / 0.5686 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00411/0.3296, allocations: 3.337 MB / 0.5719 GB, free: 9.109 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004942/0.3301, allocations: 0.8226 MB / 0.5727 GB, free: 8.262 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.454e-05/0.3302, allocations: 24.72 kB / 0.5727 GB, free: 8.238 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.3303, allocations: 103.4 kB / 0.5728 GB, free: 8.137 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3303, allocations: 0 / 0.5728 GB, free: 8.137 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/0.3567, allocations: 6.6 MB / 0.5793 GB, free: 1.621 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.44, allocations: 20.78 kB / 0.5793 GB, free: 1.609 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.561972486029845]