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.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.00148/0.00148, allocations: 119.6 kB / 17.84 MB, free: 5.109 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.0015/0.0015, allocations: 206.3 kB / 20.79 MB, free: 2.168 MB / 14.72 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 1.679/1.679, allocations: 207.6 MB / 231.2 MB, free: 4.059 MB / 174.1 MB " [Timeout remaining time 178] 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.3791/0.3791, allocations: 44.23 MB / 327.3 MB, free: 6.773 MB / 254.1 MB " [Timeout remaining time 179] 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.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002625/0.002625, allocations: 71.91 kB / 462.9 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3216, allocations: 61 MB / 0.5116 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.00383/0.3254, allocations: 2.321 MB / 0.5139 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.3265, allocations: 0.6549 MB / 0.5145 GB, free: 10.76 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.3267, allocations: 4.469 kB / 0.5145 GB, free: 10.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.917e-05/0.3268, allocations: 44.48 kB / 0.5146 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002268/0.327, allocations: 70.42 kB / 0.5146 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002869/0.3273, allocations: 84.11 kB / 0.5147 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004078/0.3277, allocations: 354.1 kB / 0.5151 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003076/0.328, allocations: 117 kB / 0.5152 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002809/0.3283, allocations: 146.6 kB / 0.5153 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.3285, allocations: 157.9 kB / 0.5155 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.722e-05/0.3286, allocations: 32.09 kB / 0.5155 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.911e-05/0.3286, allocations: 33.56 kB / 0.5155 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.004e-05/0.3287, allocations: 76.28 kB / 0.5156 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.3288, allocations: 154.3 kB / 0.5158 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003872/0.3292, allocations: 373.1 kB / 0.5161 GB, free: 9.648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3292, allocations: 0 / 0.5161 GB, free: 9.648 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.3292, allocations: 1.375 kB / 0.5161 GB, free: 9.648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.3292, allocations: 0 / 0.5161 GB, free: 9.648 MB / 382.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.0009154/0.3301, allocations: 0.5866 MB / 0.5167 GB, free: 9.117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.3302, allocations: 13.48 kB / 0.5167 GB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.189e-05/0.3302, allocations: 17.03 kB / 0.5167 GB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.277e-05/0.3303, allocations: 68.34 kB / 0.5168 GB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.202e-05/0.3303, allocations: 31.88 kB / 0.5168 GB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.3305, allocations: 198.7 kB / 0.517 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.3305, allocations: 26.78 kB / 0.517 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.676e-05/0.3306, allocations: 27.88 kB / 0.517 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004694/0.331, allocations: 281.8 kB / 0.5173 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.331, allocations: 0 / 0.5173 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.947e-05/0.3311, allocations: 26.44 kB / 0.5173 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.3311, allocations: 11.64 kB / 0.5174 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003797/0.3315, allocations: 215.5 kB / 0.5176 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001511/0.333, allocations: 1.009 MB / 0.5185 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.652e-05/0.333, allocations: 38.77 kB / 0.5186 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.531e-05/0.3331, allocations: 23.86 kB / 0.5186 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.3331, allocations: 0 / 0.5186 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.3331, allocations: 35.88 kB / 0.5186 GB, free: 7.582 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.763e-06/0.3331, allocations: 0 / 0.5186 GB, free: 7.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002306/0.3334, allocations: 74.3 kB / 0.5187 GB, free: 7.523 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.3334, allocations: 55.53 kB / 0.5188 GB, free: 7.457 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003003/0.3337, allocations: 318.9 kB / 0.5191 GB, free: 7.137 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.3337, allocations: 25.7 kB / 0.5191 GB, free: 7.105 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.449e-05/0.3338, allocations: 239.5 kB / 0.5193 GB, free: 6.867 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.124e-05/0.3338, allocations: 15.89 kB / 0.5193 GB, free: 6.852 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.807e-05/0.3339, allocations: 53.66 kB / 0.5194 GB, free: 6.793 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.879e-05/0.3339, allocations: 334.8 kB / 0.5197 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.3341, allocations: 63.97 kB / 0.5198 GB, free: 6.395 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.3342, allocations: 86.19 kB / 0.5198 GB, free: 6.305 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.3343, allocations: 123 kB / 0.52 GB, free: 6.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3343, allocations: 0 / 0.52 GB, free: 6.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003276/0.3347, allocations: 237.4 kB / 0.5202 GB, free: 5.941 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.3347, allocations: 11.94 kB / 0.5202 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.3347, allocations: 3.938 kB / 0.5202 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.3347, allocations: 4.031 kB / 0.5202 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000293/0.335, allocations: 59.89 kB / 0.5203 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.335, allocations: 0 / 0.5203 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002421/0.3352, allocations: 43.62 kB / 0.5203 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.3353, allocations: 8 kB / 0.5203 GB, free: 5.812 MB / 382.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 9.203e-05/0.3354, allocations: 129.8 kB / 0.5204 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.3354, allocations: 23.84 kB / 0.5205 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.211e-05/0.3354, allocations: 20.89 kB / 0.5205 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.3354, allocations: 8 kB / 0.5205 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3354, allocations: 0 / 0.5205 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3354, allocations: 3.938 kB / 0.5205 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004945/0.3359, allocations: 0.5071 MB / 0.521 GB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.3359, allocations: 4 kB / 0.521 GB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.1e-05/0.336, allocations: 3.984 kB / 0.521 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.336, allocations: 4 kB / 0.521 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-06/0.336, allocations: 0 / 0.521 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.336, allocations: 4.062 kB / 0.521 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.336, allocations: 0 / 0.521 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.997e-05/0.3361, allocations: 105.8 kB / 0.5211 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.236e-05/0.3361, allocations: 104.9 kB / 0.5212 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.3362, allocations: 0 / 0.5212 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.3363, allocations: 4 kB / 0.5212 GB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.277e-05/0.3363, allocations: 4.031 kB / 0.5212 GB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.3363, allocations: 0 / 0.5212 GB, free: 4.773 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001845/0.3365, allocations: 225.9 kB / 0.5214 GB, free: 4.551 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3365, allocations: 0 / 0.5214 GB, free: 4.551 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003326/0.3368, allocations: 67.84 kB / 0.5215 GB, free: 4.484 MB / 382.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.0002728/0.3371, allocations: 0.6404 MB / 0.5221 GB, free: 3.812 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002321/0.3373, allocations: 99.84 kB / 0.5222 GB, free: 3.715 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3373, allocations: 0 / 0.5222 GB, free: 3.715 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.985e-05/0.3374, allocations: 12 kB / 0.5222 GB, free: 3.703 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.3377, allocations: 20.88 kB / 0.5222 GB, free: 3.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.3398, allocations: 2.23 MB / 0.5244 GB, free: 1.352 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/0.3399, allocations: 0.7479 MB / 0.5252 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001012/0.34, allocations: 29.92 kB / 0.5252 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.431e-05/0.3401, allocations: 71.41 kB / 0.5253 GB, free: 492 kB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3401, allocations: 0 / 0.5253 GB, free: 492 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02108/0.3612, allocations: 4.216 MB / 0.5294 GB, free: 12.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.744/9.105, allocations: 17.34 kB / 0.5294 GB, free: 12.24 MB / 398.1 MB " [Timeout remaining time 651] (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 --stepSize=0.001 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.271792022977024]