Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.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.001822/0.001822, allocations: 107.5 kB / 19.69 MB, free: 2.203 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.002361/0.002361, allocations: 226.9 kB / 23.01 MB, free: 5.039 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.433/1.433, allocations: 207.6 MB / 233.8 MB, free: 9.988 MB / 190.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.2168/0.2168, allocations: 44.24 MB / 330.3 MB, free: 9.516 MB / 270.1 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.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",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.002401/0.002401, allocations: 75.89 kB / 467.5 MB, free: 4.504 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1213, allocations: 61.04 MB / 0.5162 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.4587/0.58, allocations: 188.7 MB / 0.7004 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01205/0.592, allocations: 7.457 MB / 0.7077 GB, free: 15.51 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006766/0.5927, allocations: 23.75 kB / 0.7077 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.5939, allocations: 353.7 kB / 0.708 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008097/0.602, allocations: 2.763 MB / 0.7107 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002814/0.6048, allocations: 0.9364 MB / 0.7116 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00311/0.6079, allocations: 1.691 MB / 0.7133 GB, free: 9.738 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009829/0.6089, allocations: 378.3 kB / 0.7137 GB, free: 9.363 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002212/0.6111, allocations: 0.8721 MB / 0.7145 GB, free: 8.488 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001146/0.6122, allocations: 0.5137 MB / 0.715 GB, free: 7.973 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000242/0.6125, allocations: 56 kB / 0.7151 GB, free: 7.918 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005474/0.6179, allocations: 2.699 MB / 0.7177 GB, free: 5.215 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003333/0.6183, allocations: 179.3 kB / 0.7179 GB, free: 5.039 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007047/0.619, allocations: 374.4 kB / 0.7182 GB, free: 4.672 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004499/0.6235, allocations: 2.228 MB / 0.7204 GB, free: 2.438 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.6235, allocations: 3.938 kB / 0.7204 GB, free: 2.434 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6235, allocations: 4 kB / 0.7204 GB, free: 2.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.988e-05/0.6235, allocations: 0 / 0.7204 GB, free: 2.43 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002681/0.6262, allocations: 1.119 MB / 0.7215 GB, free: 1.277 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.6262, allocations: 8.031 kB / 0.7215 GB, free: 1.27 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001688/0.6264, allocations: 94.45 kB / 0.7216 GB, free: 1.168 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/0.6277, allocations: 159.5 kB / 0.7217 GB, free: 1.012 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.6287, allocations: 437.6 kB / 0.7222 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.163e-05/0.6287, allocations: 37 kB / 0.7222 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.211e-05/0.6288, allocations: 43.94 kB / 0.7222 GB, free: 488 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.6301, allocations: 0.6438 MB / 0.7229 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.6301, allocations: 0 / 0.7229 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.365e-05/0.6301, allocations: 27.94 kB / 0.7229 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.6302, allocations: 12 kB / 0.7229 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009775/0.6311, allocations: 495.5 kB / 0.7234 GB, free: 15.26 MB / 0.5606 GB 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.003472/0.6346, allocations: 2.617 MB / 0.7259 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00067/0.6353, allocations: 298.7 kB / 0.7262 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002769/0.6356, allocations: 148.6 kB / 0.7264 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009907/0.6366, allocations: 422.1 kB / 0.7268 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/0.6366, allocations: 38.56 kB / 0.7268 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 2.134e-06/0.6366, allocations: 0 / 0.7268 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.001653/0.6382, allocations: 0.6148 MB / 0.7274 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.6384, allocations: 166.2 kB / 0.7276 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007045/0.6391, allocations: 0.5067 MB / 0.7281 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.002e-05/0.6391, allocations: 29.7 kB / 0.7281 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000246/0.6394, allocations: 304.1 kB / 0.7284 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.6395, allocations: 130.9 kB / 0.7285 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.6397, allocations: 118.1 kB / 0.7286 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.6398, allocations: 362.8 kB / 0.729 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002835/0.6401, allocations: 148.9 kB / 0.7291 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004432/0.6406, allocations: 314.4 kB / 0.7294 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007233/0.6413, allocations: 475.8 kB / 0.7299 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.6413, allocations: 0 / 0.7299 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001067/0.6424, allocations: 0.5639 MB / 0.7304 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.6424, allocations: 9.094 kB / 0.7304 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.6424, allocations: 4 kB / 0.7304 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001542/0.6439, allocations: 236.9 kB / 0.7306 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003927/0.6443, allocations: 115.8 kB / 0.7308 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005065/0.6448, allocations: 0.5836 MB / 0.7313 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003785/0.6452, allocations: 64.86 kB / 0.7314 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.799e-05/0.6453, allocations: 51.98 kB / 0.7314 GB, free: 6.559 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (52): * Single equations (assignments): 51 * 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.0003248/0.6456, allocations: 193.6 kB / 0.7316 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.6458, allocations: 63.56 kB / 0.7317 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001531/0.6473, allocations: 0.7258 MB / 0.7324 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.6473, allocations: 4 kB / 0.7324 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.6473, allocations: 0 / 0.7324 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.6473, allocations: 3.984 kB / 0.7324 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/0.6488, allocations: 0.9844 MB / 0.7334 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.6488, allocations: 0 / 0.7334 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002065/0.649, allocations: 59.84 kB / 0.7334 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003128/0.6522, allocations: 437.2 kB / 0.7338 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.522e-05/0.6522, allocations: 8 kB / 0.7338 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005064/0.6527, allocations: 0.5925 MB / 0.7344 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.6527, allocations: 4.031 kB / 0.7344 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007958/0.6535, allocations: 0.5011 MB / 0.7349 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.6536, allocations: 67.55 kB / 0.735 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.6538, allocations: 15.89 kB / 0.735 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003355/0.6541, allocations: 15.98 kB / 0.735 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.233e-05/0.6542, allocations: 27.89 kB / 0.735 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.964e-05/0.6542, allocations: 16 kB / 0.735 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000585/0.6548, allocations: 430.8 kB / 0.7355 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6548, allocations: 0 / 0.7355 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001153/0.6559, allocations: 387 kB / 0.7358 GB, free: 1.887 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (28): * Single equations (assignments): 27 * 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.002495/0.6584, allocations: 1.435 MB / 0.7372 GB, free: 412 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008728/0.6593, allocations: 364.3 kB / 0.7376 GB, free: 48 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.6593, allocations: 0 / 0.7376 GB, free: 48 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003433/0.6597, allocations: 135.8 kB / 0.7377 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001863/0.6615, allocations: 411.1 kB / 0.7381 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007419/0.6689, allocations: 5.012 MB / 0.743 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000497/0.6694, allocations: 0.8639 MB / 0.7438 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007448/0.6702, allocations: 221.2 kB / 0.744 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003887/0.6706, allocations: 235.3 kB / 0.7443 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of SimCode: time 8.62e-07/0.6706, allocations: 0 / 0.7443 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2768/0.9474, allocations: 26.17 MB / 0.7698 GB, free: 213.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.69/14.64, allocations: 4.453 kB / 0.7698 GB, free: 213.9 MB / 0.5919 GB " [Timeout remaining time 645] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Bend/Bend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.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: 17.778202147921547]