Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.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.00146/0.00146, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.00144/0.00144, allocations: 208 kB / 23.74 MB, free: 4.66 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.448/1.448, allocations: 230.6 MB / 257.5 MB, free: 8.043 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.2206/0.2206, allocations: 44.92 MB / 358.8 MB, free: 6.312 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.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19",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.002069/0.002069, allocations: 67.89 kB / 0.4931 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3248, allocations: 65.47 MB / 0.557 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.004089/0.3288, allocations: 1.956 MB / 0.5589 GB, free: 5.809 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002283/0.3311, allocations: 1.115 MB / 0.56 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002182/0.3313, allocations: 7.938 kB / 0.56 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006016/0.332, allocations: 255.2 kB / 0.5603 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007587/0.3327, allocations: 259.1 kB / 0.5605 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.3344, allocations: 0.657 MB / 0.5612 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006052/0.335, allocations: 327.1 kB / 0.5615 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.3352, allocations: 38.73 kB / 0.5615 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002687/0.3354, allocations: 143.3 kB / 0.5617 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003603/0.3358, allocations: 223.2 kB / 0.5619 GB, free: 2.816 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.354e-05/0.3358, allocations: 8 kB / 0.5619 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001794/0.336, allocations: 55.92 kB / 0.5619 GB, free: 2.754 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.3362, allocations: 95.66 kB / 0.562 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.3363, allocations: 119 kB / 0.5621 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005546/0.3369, allocations: 318.3 kB / 0.5624 GB, free: 2.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.3369, allocations: 4 kB / 0.5624 GB, free: 2.227 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3369, allocations: 0 / 0.5624 GB, free: 2.227 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.3369, allocations: 0 / 0.5624 GB, free: 2.227 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009295/0.3378, allocations: 0.6049 MB / 0.563 GB, free: 1.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.3379, allocations: 12.03 kB / 0.563 GB, free: 1.578 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.715e-05/0.3379, allocations: 34.75 kB / 0.5631 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.823e-05/0.338, allocations: 48.61 kB / 0.5631 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004313/0.3384, allocations: 276.6 kB / 0.5634 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.3384, allocations: 4.359 kB / 0.5634 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.3385, allocations: 8.375 kB / 0.5634 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.3387, allocations: 101.6 kB / 0.5635 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.3387, allocations: 0 / 0.5635 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.3387, allocations: 8 kB / 0.5635 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3387, allocations: 0 / 0.5635 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/0.3389, allocations: 71.89 kB / 0.5636 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008059/0.3397, allocations: 443.5 kB / 0.564 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.3399, allocations: 78.53 kB / 0.5641 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.928e-05/0.34, allocations: 32.91 kB / 0.5641 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.34, allocations: 8 kB / 0.5641 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.34, allocations: 30.56 kB / 0.5641 GB, free: 360 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.34, allocations: 0 / 0.5641 GB, free: 360 kB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004185/0.3405, allocations: 157.4 kB / 0.5643 GB, free: 196 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.3405, allocations: 55.34 kB / 0.5643 GB, free: 128 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007824/0.3413, allocations: 0.6035 MB / 0.5649 GB, free: 15.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.3413, allocations: 29.7 kB / 0.565 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.3415, allocations: 208 kB / 0.5652 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.3415, allocations: 19.8 kB / 0.5652 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.304e-05/0.3416, allocations: 25.7 kB / 0.5652 GB, free: 15.22 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.3417, allocations: 350.8 kB / 0.5655 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.477e-05/0.3418, allocations: 31.92 kB / 0.5656 GB, free: 14.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.883e-05/0.3419, allocations: 23.97 kB / 0.5656 GB, free: 14.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.342, allocations: 72.7 kB / 0.5657 GB, free: 14.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.342, allocations: 8 kB / 0.5657 GB, free: 14.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002519/0.3423, allocations: 129.4 kB / 0.5658 GB, free: 14.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.3423, allocations: 4 kB / 0.5658 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3423, allocations: 0 / 0.5658 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.3423, allocations: 3.938 kB / 0.5658 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.401e-05/0.3424, allocations: 15.98 kB / 0.5658 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.3424, allocations: 3.938 kB / 0.5658 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.822e-05/0.3425, allocations: 4 kB / 0.5658 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.3425, allocations: 4 kB / 0.5658 GB, free: 14.56 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 (6): * Single equations (assignments): 6 * 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.0001729/0.3427, allocations: 173.8 kB / 0.566 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.262e-05/0.3427, allocations: 43.72 kB / 0.566 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003159/0.3431, allocations: 161.5 kB / 0.5662 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3431, allocations: 3.938 kB / 0.5662 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3431, allocations: 4 kB / 0.5662 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3431, allocations: 0 / 0.5662 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003518/0.3434, allocations: 276.7 kB / 0.5665 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3434, allocations: 0 / 0.5665 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.417e-05/0.3435, allocations: 23.92 kB / 0.5665 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3435, allocations: 0 / 0.5665 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.3435, allocations: 0 / 0.5665 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.3435, allocations: 3.938 kB / 0.5665 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3435, allocations: 0 / 0.5665 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.3438, allocations: 227.2 kB / 0.5667 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.978e-05/0.3439, allocations: 43.73 kB / 0.5667 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/0.3439, allocations: 0 / 0.5667 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.333e-05/0.344, allocations: 11.94 kB / 0.5668 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/0.344, allocations: 4 kB / 0.5668 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.344, allocations: 7.984 kB / 0.5668 GB, free: 13.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005305/0.3446, allocations: 446.8 kB / 0.5672 GB, free: 13.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3446, allocations: 0 / 0.5672 GB, free: 13.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002952/0.3448, allocations: 39.89 kB / 0.5672 GB, free: 13.04 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 (6): * Single equations (assignments): 6 * 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.002971/0.3478, allocations: 1.27 MB / 0.5685 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002156/0.348, allocations: 59.95 kB / 0.5685 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.348, allocations: 0 / 0.5685 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.791e-05/0.3481, allocations: 39.91 kB / 0.5686 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000593/0.3487, allocations: 80.95 kB / 0.5686 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00402/0.3527, allocations: 2.977 MB / 0.5716 GB, free: 8.793 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000526/0.3533, allocations: 0.8061 MB / 0.5723 GB, free: 7.961 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001382/0.3534, allocations: 53.89 kB / 0.5724 GB, free: 7.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.3536, allocations: 119.4 kB / 0.5725 GB, free: 7.793 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3536, allocations: 0 / 0.5725 GB, free: 7.793 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03601/0.3896, allocations: 7.161 MB / 0.5795 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.94, allocations: 7.938 kB / 0.5795 GB, free: 0.6836 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.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.906561227049679]