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.001297/0.001297, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001393/0.001393, allocations: 215.5 kB / 22.99 MB, free: 4.977 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.642/1.642, allocations: 207.7 MB / 233.8 MB, free: 9.797 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.2378/0.2378, allocations: 44.26 MB / 330.3 MB, free: 9.316 MB / 270.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.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.002355/0.002355, allocations: 68.45 kB / 467.5 MB, free: 4.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1437, allocations: 61.04 MB / 0.5162 GB, free: 7.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.5544/0.6981, allocations: 162.9 MB / 0.6752 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01474/0.7129, allocations: 6.804 MB / 0.6819 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001287/0.7142, allocations: 27.75 kB / 0.6819 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001939/0.7161, allocations: 329.8 kB / 0.6822 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01082/0.7269, allocations: 2.756 MB / 0.6849 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003209/0.7301, allocations: 0.9319 MB / 0.6858 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003127/0.7333, allocations: 1.687 MB / 0.6875 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009769/0.7342, allocations: 374.4 kB / 0.6878 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002353/0.7366, allocations: 0.8799 MB / 0.6887 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001165/0.7378, allocations: 0.4902 MB / 0.6892 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002328/0.738, allocations: 52 kB / 0.6892 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004634/0.7426, allocations: 1.443 MB / 0.6906 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004323/0.7431, allocations: 175.4 kB / 0.6908 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008195/0.7439, allocations: 322.7 kB / 0.6911 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005177/0.7491, allocations: 1.885 MB / 0.6929 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.7491, allocations: 0 / 0.6929 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7491, allocations: 0 / 0.6929 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.308e-05/0.7491, allocations: 0 / 0.6929 GB, free: 13.12 MB / 0.5294 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.003034/0.7521, allocations: 1.122 MB / 0.694 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.7522, allocations: 12.03 kB / 0.694 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002062/0.7524, allocations: 102.4 kB / 0.6941 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001419/0.7538, allocations: 155.5 kB / 0.6943 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.755, allocations: 437.6 kB / 0.6947 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.494e-05/0.755, allocations: 37 kB / 0.6947 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.066e-05/0.7551, allocations: 40 kB / 0.6948 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/0.7568, allocations: 1.038 MB / 0.6958 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.7569, allocations: 3.938 kB / 0.6958 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.691e-05/0.7569, allocations: 27.94 kB / 0.6958 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.757, allocations: 8 kB / 0.6958 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.758, allocations: 495.6 kB / 0.6963 GB, free: 9.457 MB / 0.5294 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.003531/0.7615, allocations: 2.11 MB / 0.6984 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007015/0.7622, allocations: 294.7 kB / 0.6986 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002829/0.7625, allocations: 144.7 kB / 0.6988 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009996/0.7635, allocations: 410.2 kB / 0.6992 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.421e-05/0.7636, allocations: 38.56 kB / 0.6992 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 2.424e-06/0.7636, allocations: 4 kB / 0.6992 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.001747/0.7653, allocations: 0.6148 MB / 0.6998 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.7654, allocations: 162.2 kB / 0.7 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007171/0.7661, allocations: 0.5144 MB / 0.7005 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.47e-05/0.7662, allocations: 29.7 kB / 0.7005 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00027/0.7665, allocations: 304.1 kB / 0.7008 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/0.7666, allocations: 134.8 kB / 0.7009 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/0.7668, allocations: 114.2 kB / 0.701 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001958/0.767, allocations: 358.8 kB / 0.7014 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002898/0.7673, allocations: 144.9 kB / 0.7015 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005366/0.7678, allocations: 421.1 kB / 0.7019 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008071/0.7686, allocations: 477.4 kB / 0.7024 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.7686, allocations: 0 / 0.7024 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001208/0.7698, allocations: 0.5717 MB / 0.7029 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.061e-05/0.7699, allocations: 4 kB / 0.7029 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/0.7699, allocations: 8 kB / 0.7029 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001688/0.7716, allocations: 240.9 kB / 0.7032 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004131/0.772, allocations: 115.8 kB / 0.7033 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005933/0.7726, allocations: 0.5836 MB / 0.7038 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004737/0.773, allocations: 63.5 kB / 0.7039 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.7732, allocations: 59.98 kB / 0.704 GB, free: 1.227 MB / 0.5294 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.0004075/0.7736, allocations: 193.6 kB / 0.7041 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001852/0.7737, allocations: 63.62 kB / 0.7042 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00162/0.7754, allocations: 0.7349 MB / 0.7049 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.7754, allocations: 4 kB / 0.7049 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.7754, allocations: 0 / 0.7049 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.7754, allocations: 3.984 kB / 0.7049 GB, free: 200 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001996/0.7774, allocations: 0.9174 MB / 0.7058 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.7774, allocations: 4 kB / 0.7058 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/0.7776, allocations: 55.84 kB / 0.7059 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003464/0.7811, allocations: 432.4 kB / 0.7063 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.446e-05/0.7811, allocations: 8 kB / 0.7063 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006136/0.7818, allocations: 0.5992 MB / 0.7069 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.7818, allocations: 0 / 0.7069 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00096/0.7827, allocations: 0.4972 MB / 0.7074 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002398/0.783, allocations: 67.53 kB / 0.7074 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/0.7831, allocations: 15.89 kB / 0.7074 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000416/0.7835, allocations: 16 kB / 0.7075 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.808e-05/0.7836, allocations: 35.83 kB / 0.7075 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.313e-05/0.7837, allocations: 19.92 kB / 0.7075 GB, free: 13.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007369/0.7844, allocations: 426.8 kB / 0.7079 GB, free: 12.99 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.7844, allocations: 4.062 kB / 0.7079 GB, free: 12.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001385/0.7858, allocations: 387 kB / 0.7083 GB, free: 12.61 MB / 0.545 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.002912/0.7887, allocations: 1.44 MB / 0.7097 GB, free: 11.12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001055/0.7898, allocations: 352.8 kB / 0.71 GB, free: 10.77 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.7898, allocations: 4 kB / 0.71 GB, free: 10.77 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003786/0.7902, allocations: 135.8 kB / 0.7102 GB, free: 10.64 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002263/0.7924, allocations: 418.3 kB / 0.7106 GB, free: 10.23 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009359/0.8018, allocations: 5 MB / 0.7155 GB, free: 4.988 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.8022, allocations: 267.9 kB / 0.7157 GB, free: 4.699 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001072/0.8032, allocations: 217.2 kB / 0.7159 GB, free: 4.484 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005413/0.8038, allocations: 227.4 kB / 0.7161 GB, free: 4.262 MB / 0.545 GB Notification: Performance of SimCode: time 1.933e-06/0.8038, allocations: 4 kB / 0.7161 GB, free: 4.258 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08216/0.8859, allocations: 27.89 MB / 0.7434 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/14.71, allocations: 7.906 kB / 0.7434 GB, free: 8.336 MB / 0.5762 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: 18.92137743718922]