Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.0007641/0.0007641, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0007557/0.0007557, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8527/0.8527, allocations: 158.6 MB / 185 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1314/0.1314, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] 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.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.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.827e-06/3.827e-06, allocations: 0 / 406.9 MB, free: 2.227 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.847e-05/4.23e-05, allocations: 10.02 kB / 406.9 MB, free: 2.219 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.2927/0.2928, allocations: 164.8 MB / 0.5583 GB, free: 0.6875 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006296/0.2991, allocations: 5.594 MB / 0.5638 GB, free: 12.9 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000669/0.2998, allocations: 28.94 kB / 0.5638 GB, free: 12.88 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008882/0.3006, allocations: 312.5 kB / 0.5641 GB, free: 12.62 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004123/0.3048, allocations: 2 MB / 0.5661 GB, free: 11.3 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.3064, allocations: 0.7498 MB / 0.5668 GB, free: 10.75 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001846/0.3082, allocations: 1.55 MB / 0.5683 GB, free: 9.836 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005998/0.3088, allocations: 345.8 kB / 0.5686 GB, free: 9.598 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.3099, allocations: 0.7938 MB / 0.5694 GB, free: 9.117 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004309/0.3104, allocations: 412.2 kB / 0.5698 GB, free: 8.906 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.431e-05/0.3104, allocations: 50 kB / 0.5698 GB, free: 8.906 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002181/0.3126, allocations: 1.314 MB / 0.5711 GB, free: 8.27 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.3128, allocations: 166.2 kB / 0.5713 GB, free: 8.141 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002625/0.313, allocations: 249.8 kB / 0.5715 GB, free: 8.031 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003128/0.3161, allocations: 1.868 MB / 0.5733 GB, free: 6.887 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.3162, allocations: 0 / 0.5733 GB, free: 6.887 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3162, allocations: 4 kB / 0.5734 GB, free: 6.883 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.3162, allocations: 0 / 0.5734 GB, free: 6.883 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001565/0.3177, allocations: 1.056 MB / 0.5744 GB, free: 6.082 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.3178, allocations: 10.62 kB / 0.5744 GB, free: 6.082 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.567e-05/0.3179, allocations: 82.69 kB / 0.5745 GB, free: 6.008 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005613/0.3184, allocations: 141.9 kB / 0.5746 GB, free: 5.941 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006283/0.3191, allocations: 421.9 kB / 0.575 GB, free: 5.609 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.3191, allocations: 32.94 kB / 0.575 GB, free: 5.594 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/0.3191, allocations: 38.5 kB / 0.5751 GB, free: 5.582 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008235/0.3199, allocations: 0.8875 MB / 0.5759 GB, free: 4.816 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.3199, allocations: 2.875 kB / 0.5759 GB, free: 4.816 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.95e-05/0.32, allocations: 25.12 kB / 0.576 GB, free: 4.797 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.32, allocations: 10.44 kB / 0.576 GB, free: 4.797 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005513/0.3206, allocations: 470 kB / 0.5764 GB, free: 4.586 MB / 458.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001839/0.3224, allocations: 1.974 MB / 0.5784 GB, free: 2.961 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000447/0.3228, allocations: 316.3 kB / 0.5787 GB, free: 2.805 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.323, allocations: 158.8 kB / 0.5788 GB, free: 2.723 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005711/0.3236, allocations: 411.9 kB / 0.5792 GB, free: 2.426 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.3236, allocations: 44.28 kB / 0.5792 GB, free: 2.375 MB / 458.7 MB Notification: Performance of pre-optimization done (n=33): time 2.925e-06/0.3236, allocations: 0 / 0.5792 GB, free: 2.375 MB / 458.7 MB Notification: Performance of matching and sorting (n=33): time 0.001124/0.3247, allocations: 0.6361 MB / 0.5799 GB, free: 1.73 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.3248, allocations: 132.5 kB / 0.58 GB, free: 1.57 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004022/0.3252, allocations: 473.9 kB / 0.5804 GB, free: 1.094 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/0.3252, allocations: 33.7 kB / 0.5805 GB, free: 1.055 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.3254, allocations: 280.2 kB / 0.5807 GB, free: 0.7773 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.638e-05/0.3255, allocations: 127 kB / 0.5809 GB, free: 0.6523 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.3256, allocations: 106.1 kB / 0.581 GB, free: 0.543 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.756e-05/0.3257, allocations: 358.8 kB / 0.5813 GB, free: 188 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.3258, allocations: 140.9 kB / 0.5814 GB, free: 48 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002846/0.3261, allocations: 354 kB / 0.5818 GB, free: 15.62 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004375/0.3265, allocations: 436.7 kB / 0.5822 GB, free: 15.15 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.3266, allocations: 0 / 0.5822 GB, free: 15.15 MB / 474.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006463/0.3272, allocations: 0.529 MB / 0.5827 GB, free: 14.61 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.3272, allocations: 11.94 kB / 0.5827 GB, free: 14.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.3272, allocations: 5.344 kB / 0.5827 GB, free: 14.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007726/0.328, allocations: 252.5 kB / 0.583 GB, free: 14.35 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.3282, allocations: 99.88 kB / 0.5831 GB, free: 14.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003834/0.3286, allocations: 0.5883 MB / 0.5836 GB, free: 13.64 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/0.3288, allocations: 51.69 kB / 0.5837 GB, free: 13.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.617e-05/0.3289, allocations: 47.98 kB / 0.5837 GB, free: 13.54 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002215/0.3291, allocations: 177.7 kB / 0.5839 GB, free: 13.36 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.274e-05/0.3292, allocations: 55.67 kB / 0.584 GB, free: 13.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009165/0.3301, allocations: 0.7347 MB / 0.5847 GB, free: 12.55 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.3301, allocations: 4 kB / 0.5847 GB, free: 12.55 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3301, allocations: 0 / 0.5847 GB, free: 12.55 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3301, allocations: 0 / 0.5847 GB, free: 12.55 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009953/0.3311, allocations: 0.9207 MB / 0.5856 GB, free: 11.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.3311, allocations: 4 kB / 0.5856 GB, free: 11.56 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.3312, allocations: 55.91 kB / 0.5856 GB, free: 11.51 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001461/0.3327, allocations: 432.4 kB / 0.586 GB, free: 11.08 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.3327, allocations: 12 kB / 0.5861 GB, free: 11.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003651/0.3331, allocations: 0.6082 MB / 0.5867 GB, free: 10.44 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3331, allocations: 8 kB / 0.5867 GB, free: 10.43 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007583/0.3338, allocations: 0.5051 MB / 0.5872 GB, free: 9.895 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.334, allocations: 59.59 kB / 0.5872 GB, free: 9.836 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.258e-05/0.334, allocations: 15.89 kB / 0.5872 GB, free: 9.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.3342, allocations: 19.98 kB / 0.5872 GB, free: 9.801 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/0.3343, allocations: 19.95 kB / 0.5873 GB, free: 9.781 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/0.3343, allocations: 19.98 kB / 0.5873 GB, free: 9.762 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003527/0.3347, allocations: 398.8 kB / 0.5877 GB, free: 9.375 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3347, allocations: 4 kB / 0.5877 GB, free: 9.371 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008726/0.3355, allocations: 370.9 kB / 0.588 GB, free: 9.008 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001668/0.3372, allocations: 1.477 MB / 0.5895 GB, free: 7.496 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006479/0.3379, allocations: 360.1 kB / 0.5898 GB, free: 7.145 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3379, allocations: 0 / 0.5898 GB, free: 7.145 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.3381, allocations: 161.1 kB / 0.59 GB, free: 6.988 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.3391, allocations: 372.5 kB / 0.5903 GB, free: 6.645 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004948/0.344, allocations: 4.841 MB / 0.595 GB, free: 1.598 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.3442, allocations: 255.3 kB / 0.5953 GB, free: 1.324 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005325/0.3447, allocations: 204.5 kB / 0.5955 GB, free: 1.129 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/0.345, allocations: 208.4 kB / 0.5957 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of SimCode: time 1.483e-06/0.345, allocations: 0 / 0.5957 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03968/0.3847, allocations: 25.93 MB / 0.621 GB, free: 6.984 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.156/8.541, allocations: 7.891 kB / 0.621 GB, free: 6.977 MB / 0.4948 GB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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: 10.548550781793892]