Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.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.001554/0.001554, 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.002068/0.002068, allocations: 215.9 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.463/1.463, 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.2187/0.2187, allocations: 44.94 MB / 358.8 MB, free: 6.113 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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15",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: 71.89 kB / 0.493 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3124, allocations: 65.47 MB / 0.557 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.003289/0.3157, allocations: 1.663 MB / 0.5586 GB, free: 5.855 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.3168, allocations: 0.7556 MB / 0.5593 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.265e-05/0.3168, allocations: 0 / 0.5593 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002156/0.317, allocations: 31.83 kB / 0.5594 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.3172, allocations: 47.83 kB / 0.5594 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.057e-06/0.3172, allocations: 0 / 0.5594 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.3174, allocations: 27.91 kB / 0.5594 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.254e-05/0.3174, allocations: 9.812 kB / 0.5594 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.288e-05/0.3174, allocations: 11.92 kB / 0.5595 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.062e-05/0.3175, allocations: 11.88 kB / 0.5595 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.3175, allocations: 4 kB / 0.5595 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.777e-05/0.3175, allocations: 11.98 kB / 0.5595 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.863e-05/0.3176, allocations: 16.91 kB / 0.5595 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.434e-05/0.3176, allocations: 19.86 kB / 0.5595 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.3178, allocations: 71.62 kB / 0.5596 GB, free: 4.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3178, allocations: 0 / 0.5596 GB, free: 4.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.727e-06/0.3178, allocations: 3.984 kB / 0.5596 GB, free: 4.836 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.3178, allocations: 0 / 0.5596 GB, free: 4.836 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003718/0.3181, allocations: 294 kB / 0.5599 GB, free: 4.516 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.3182, allocations: 8.031 kB / 0.5599 GB, free: 4.508 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.771e-05/0.3182, allocations: 38.69 kB / 0.5599 GB, free: 4.461 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.61e-05/0.3182, allocations: 8.891 kB / 0.5599 GB, free: 4.453 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.3184, allocations: 122.4 kB / 0.56 GB, free: 4.309 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.3184, allocations: 384 / 0.56 GB, free: 4.309 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.3184, allocations: 384 / 0.56 GB, free: 4.309 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.3186, allocations: 135.2 kB / 0.5602 GB, free: 4.152 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.3186, allocations: 3.938 kB / 0.5602 GB, free: 4.148 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.3186, allocations: 3.938 kB / 0.5602 GB, free: 4.145 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.564e-05/0.3186, allocations: 23.98 kB / 0.5602 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.048e-05/0.3187, allocations: 47.84 kB / 0.5602 GB, free: 4.074 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007265/0.3195, allocations: 0.8547 MB / 0.5611 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.3196, allocations: 169.1 kB / 0.5612 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.231e-05/0.3196, allocations: 84.08 kB / 0.5613 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.584e-05/0.3196, allocations: 75.28 kB / 0.5614 GB, free: 2.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.6e-05/0.3197, allocations: 109.8 kB / 0.5615 GB, free: 2.703 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.3197, allocations: 4 kB / 0.5615 GB, free: 2.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.062e-05/0.3198, allocations: 45.62 kB / 0.5615 GB, free: 2.648 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.844e-05/0.3199, allocations: 126.7 kB / 0.5617 GB, free: 2.512 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.3201, allocations: 190.1 kB / 0.5618 GB, free: 2.316 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.3201, allocations: 25.7 kB / 0.5619 GB, free: 2.285 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.3202, allocations: 147.5 kB / 0.562 GB, free: 2.137 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.4e-06/0.3202, allocations: 7.984 kB / 0.562 GB, free: 2.129 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.756e-05/0.3203, allocations: 41.67 kB / 0.5621 GB, free: 2.082 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.3204, allocations: 318.8 kB / 0.5624 GB, free: 1.762 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.491e-05/0.3205, allocations: 31.98 kB / 0.5624 GB, free: 1.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.3206, allocations: 159.2 kB / 0.5625 GB, free: 1.516 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002394/0.3209, allocations: 204.9 kB / 0.5627 GB, free: 1.254 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3209, allocations: 0 / 0.5627 GB, free: 1.254 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000326/0.3212, allocations: 205.1 kB / 0.5629 GB, free: 1.047 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3212, allocations: 8 kB / 0.5629 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.3212, allocations: 4 kB / 0.5629 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.3213, allocations: 4.625 kB / 0.5629 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.3214, allocations: 39.92 kB / 0.563 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.3214, allocations: 11.98 kB / 0.563 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.243e-05/0.3215, allocations: 27.78 kB / 0.563 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.3215, allocations: 12 kB / 0.563 GB, free: 0.9414 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001395/0.3216, allocations: 205.1 kB / 0.5632 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.004e-05/0.3217, allocations: 124.8 kB / 0.5634 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.431e-05/0.3218, allocations: 112.6 kB / 0.5635 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.992e-05/0.3219, allocations: 180.3 kB / 0.5636 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-05/0.322, allocations: 188.3 kB / 0.5638 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001024/0.3221, allocations: 192.2 kB / 0.564 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002832/0.3223, allocations: 400.2 kB / 0.5644 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.672e-05/0.3224, allocations: 105 kB / 0.5645 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.038e-05/0.3224, allocations: 101 kB / 0.5646 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.983e-05/0.3225, allocations: 188.2 kB / 0.5648 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.307e-05/0.3226, allocations: 176.3 kB / 0.5649 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.266e-05/0.3227, allocations: 180.2 kB / 0.5651 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.524e-05/0.3228, allocations: 184.2 kB / 0.5653 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.323, allocations: 323.6 kB / 0.5656 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.577e-05/0.323, allocations: 104.9 kB / 0.5657 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.661e-05/0.3231, allocations: 188.2 kB / 0.5659 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.892e-05/0.3232, allocations: 105 kB / 0.566 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.899e-05/0.3233, allocations: 184.3 kB / 0.5661 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-05/0.3233, allocations: 104.9 kB / 0.5662 GB, free: 13.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001165/0.3234, allocations: 132 kB / 0.5664 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3235, allocations: 0 / 0.5664 GB, free: 13.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002919/0.3237, allocations: 16 kB / 0.5664 GB, free: 13.32 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 (0): * Single equations (assignments): 0 * 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.001065/0.3248, allocations: 0.9202 MB / 0.5673 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001617/0.325, allocations: 80.59 kB / 0.5673 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.325, allocations: 0 / 0.5673 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.325, allocations: 0 / 0.5673 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.3254, allocations: 461.9 kB / 0.5678 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.3272, allocations: 1.875 MB / 0.5696 GB, free: 9.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.3273, allocations: 87.5 kB / 0.5697 GB, free: 9.715 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001856/0.3275, allocations: 48.97 kB / 0.5697 GB, free: 9.668 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.79e-05/0.3276, allocations: 31.42 kB / 0.5698 GB, free: 9.637 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3276, allocations: 0 / 0.5698 GB, free: 9.637 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02833/0.3559, allocations: 2.605 MB / 0.5723 GB, free: 7.082 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.79, allocations: 5.406 kB / 0.5723 GB, free: 7.082 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.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.67537235794589]