Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001053, allocations: 101.2 kB / 16.27 MB, free: 6.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 191.4 kB / 17.2 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2076/0.2076, allocations: 43.53 MB / 313.9 MB, free: 0.5234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 67.14 kB / 382.8 MB, free: 56.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07427/0.07558, allocations: 57.78 MB / 440.6 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.002446/0.07806, allocations: 2.306 MB / 442.9 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000666/0.07874, allocations: 0.6476 MB / 443.6 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.854e-05/0.07883, allocations: 4 kB / 443.6 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.443e-05/0.0789, allocations: 43.58 kB / 443.6 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.07905, allocations: 71.28 kB / 443.7 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/0.07923, allocations: 91.88 kB / 443.8 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.07942, allocations: 351.2 kB / 444.1 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002064/0.07963, allocations: 151.8 kB / 444.3 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.07977, allocations: 147.5 kB / 444.4 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.07991, allocations: 147.4 kB / 444.5 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.666e-05/0.07995, allocations: 35.94 kB / 444.6 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.927e-05/0.08, allocations: 36 kB / 444.6 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.921e-05/0.08004, allocations: 67.83 kB / 444.7 MB, free: 2.723 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.74e-05/0.08013, allocations: 159.2 kB / 444.8 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.08033, allocations: 378.6 kB / 445.2 MB, free: 2.195 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.08034, allocations: 0 / 445.2 MB, free: 2.195 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.08035, allocations: 4 kB / 445.2 MB, free: 2.191 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.08036, allocations: 0 / 445.2 MB, free: 2.191 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0007288/0.08109, allocations: 0.5812 MB / 445.8 MB, free: 1.559 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.08116, allocations: 11.89 kB / 445.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.858e-05/0.08124, allocations: 70.72 kB / 445.9 MB, free: 1.469 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.771e-05/0.08132, allocations: 28.66 kB / 445.9 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.08146, allocations: 203.8 kB / 446.1 MB, free: 1.203 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.08157, allocations: 29.22 kB / 446.1 MB, free: 1.176 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.89e-05/0.08163, allocations: 28.38 kB / 446.2 MB, free: 1.148 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005681/0.08221, allocations: 282 kB / 446.4 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.08224, allocations: 3.984 kB / 446.4 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.671e-05/0.08228, allocations: 16 kB / 446.5 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.0823, allocations: 12 kB / 446.5 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005142/0.08283, allocations: 210.5 kB / 446.7 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002175/0.08501, allocations: 1.028 MB / 447.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.359e-05/0.08512, allocations: 30.58 kB / 447.7 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.892e-05/0.08522, allocations: 28.91 kB / 447.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.08524, allocations: 4 kB / 447.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.08529, allocations: 34.5 kB / 447.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.673e-06/0.0853, allocations: 3.938 kB / 447.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002628/0.08557, allocations: 73.42 kB / 447.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.08562, allocations: 55.53 kB / 447.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005078/0.08614, allocations: 322.8 kB / 448.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.08617, allocations: 25.7 kB / 448.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.08635, allocations: 230.8 kB / 448.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.08638, allocations: 15.89 kB / 448.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.08651, allocations: 49.61 kB / 448.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.08667, allocations: 334.8 kB / 448.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.08687, allocations: 63.97 kB / 448.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.0871, allocations: 93.69 kB / 449 MB, free: 14.13 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002894/0.0874, allocations: 123.4 kB / 449.2 MB, free: 14 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.08741, allocations: 0 / 449.2 MB, free: 14 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005702/0.08799, allocations: 237.4 kB / 449.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.08802, allocations: 7.938 kB / 449.4 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.08804, allocations: 4 kB / 449.4 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.08807, allocations: 3.938 kB / 449.4 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004275/0.0885, allocations: 59.98 kB / 449.5 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.08853, allocations: 7.938 kB / 449.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003524/0.08889, allocations: 39.53 kB / 449.5 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.08893, allocations: 4 kB / 449.5 MB, free: 13.64 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (30): * Single equations (assignments): 30 * 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.0001543/0.08909, allocations: 133.8 kB / 449.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.95e-05/0.08918, allocations: 27.66 kB / 449.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.943e-05/0.08924, allocations: 20.89 kB / 449.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.08925, allocations: 0 / 449.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.08926, allocations: 8 kB / 449.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.08928, allocations: 0 / 449.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008197/0.09011, allocations: 0.511 MB / 450.2 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.09012, allocations: 4 kB / 450.2 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.194e-05/0.09018, allocations: 0 / 450.2 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.408e-05/0.0902, allocations: 7.938 kB / 450.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.09022, allocations: 0 / 450.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.09022, allocations: 0 / 450.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.09024, allocations: 4.062 kB / 450.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.09041, allocations: 101.6 kB / 450.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.09053, allocations: 104.8 kB / 450.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.78e-05/0.09059, allocations: 0 / 450.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.09076, allocations: 4 kB / 450.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.981e-05/0.09079, allocations: 3.984 kB / 450.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.09081, allocations: 4.031 kB / 450.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00035/0.09117, allocations: 222 kB / 450.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.09118, allocations: 0 / 450.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004526/0.09164, allocations: 63.84 kB / 450.7 MB, free: 12.32 MB / 334.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 (2): * Single equations (assignments): 2 * 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.0005254/0.09217, allocations: 0.6326 MB / 451.4 MB, free: 11.65 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003565/0.09254, allocations: 119.9 kB / 451.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.09256, allocations: 0 / 451.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.368e-05/0.0926, allocations: 11.94 kB / 451.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004353/0.09305, allocations: 18.14 kB / 451.5 MB, free: 11.51 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003706/0.09676, allocations: 2.252 MB / 453.8 MB, free: 9.164 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003949/0.09718, allocations: 0.744 MB / 454.5 MB, free: 8.395 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001188/0.09731, allocations: 25.92 kB / 454.5 MB, free: 8.371 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.09742, allocations: 79.41 kB / 454.6 MB, free: 8.293 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.09743, allocations: 0 / 454.6 MB, free: 8.293 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.269/0.3665, allocations: 4.032 MB / 458.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.039/8.406, allocations: 9.5 kB / 458.6 MB, free: 4.262 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches