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.001354/0.001354, allocations: 109 kB / 20.48 MB, free: 1.477 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.001879/0.001879, allocations: 207.9 kB / 23.78 MB, free: 4.688 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.48/1.48, allocations: 207.6 MB / 234.5 MB, free: 9.984 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.2346/0.2346, allocations: 44.24 MB / 331.1 MB, free: 9.52 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",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.002675/0.002675, allocations: 70.41 kB / 468.3 MB, free: 4.512 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1385, allocations: 61.05 MB / 0.5169 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.4714/0.6098, allocations: 188.7 MB / 0.7012 GB, free: 7 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01138/0.6212, allocations: 7.446 MB / 0.7084 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009613/0.6222, allocations: 27.75 kB / 0.7085 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.6232, allocations: 349.8 kB / 0.7088 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007157/0.6304, allocations: 2.765 MB / 0.7115 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002615/0.633, allocations: 0.9364 MB / 0.7124 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00262/0.6356, allocations: 1.699 MB / 0.7141 GB, free: 9.75 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008024/0.6364, allocations: 386.3 kB / 0.7144 GB, free: 9.367 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002021/0.6385, allocations: 0.8643 MB / 0.7153 GB, free: 8.5 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.6397, allocations: 0.5214 MB / 0.7158 GB, free: 7.977 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002297/0.6399, allocations: 52 kB / 0.7158 GB, free: 7.926 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00567/0.6456, allocations: 2.699 MB / 0.7185 GB, free: 5.223 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003241/0.6459, allocations: 179.3 kB / 0.7186 GB, free: 5.047 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007264/0.6466, allocations: 370.4 kB / 0.719 GB, free: 4.684 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004882/0.6515, allocations: 2.236 MB / 0.7212 GB, free: 2.441 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.6515, allocations: 4 kB / 0.7212 GB, free: 2.438 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6515, allocations: 0 / 0.7212 GB, free: 2.438 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.357e-05/0.6515, allocations: 0 / 0.7212 GB, free: 2.438 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.002797/0.6543, allocations: 1.115 MB / 0.7223 GB, free: 1.289 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.6544, allocations: 8.031 kB / 0.7223 GB, free: 1.281 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.259e-05/0.6544, allocations: 20.94 kB / 0.7223 GB, free: 1.262 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001457/0.6545, allocations: 86.53 kB / 0.7224 GB, free: 1.168 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001317/0.6559, allocations: 155.5 kB / 0.7225 GB, free: 1.016 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009921/0.6569, allocations: 441.6 kB / 0.7229 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.977e-05/0.6569, allocations: 33 kB / 0.723 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.996e-05/0.657, allocations: 40 kB / 0.723 GB, free: 496 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.6582, allocations: 0.6416 MB / 0.7236 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.6583, allocations: 7.875 kB / 0.7236 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.631e-05/0.6583, allocations: 24 kB / 0.7237 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.6584, allocations: 15.94 kB / 0.7237 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009899/0.6593, allocations: 499.5 kB / 0.7242 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.003586/0.6629, allocations: 2.621 MB / 0.7267 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007021/0.6636, allocations: 298.7 kB / 0.727 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002832/0.6639, allocations: 144.7 kB / 0.7271 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009997/0.6649, allocations: 422.1 kB / 0.7275 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.242e-05/0.665, allocations: 42.5 kB / 0.7276 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 2.174e-06/0.665, allocations: 0 / 0.7276 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.001735/0.6667, allocations: 0.6071 MB / 0.7282 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.6668, allocations: 158.2 kB / 0.7283 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007432/0.6676, allocations: 0.5106 MB / 0.7288 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.748e-05/0.6676, allocations: 33.7 kB / 0.7289 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003378/0.668, allocations: 308.1 kB / 0.7292 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/0.6681, allocations: 130.8 kB / 0.7293 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002472/0.6684, allocations: 118.1 kB / 0.7294 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002119/0.6686, allocations: 358.8 kB / 0.7297 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003408/0.6689, allocations: 144.9 kB / 0.7299 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004687/0.6694, allocations: 318.3 kB / 0.7302 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007943/0.6702, allocations: 474.7 kB / 0.7306 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.6702, allocations: 0 / 0.7306 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001185/0.6714, allocations: 0.5598 MB / 0.7312 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.6714, allocations: 9.094 kB / 0.7312 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.6714, allocations: 4 kB / 0.7312 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00164/0.6731, allocations: 241.1 kB / 0.7314 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004061/0.6735, allocations: 125.6 kB / 0.7315 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000547/0.674, allocations: 0.5758 MB / 0.7321 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004396/0.6745, allocations: 63.55 kB / 0.7322 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.6746, allocations: 51.98 kB / 0.7322 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.0003705/0.6749, allocations: 197.6 kB / 0.7324 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/0.6751, allocations: 63.62 kB / 0.7325 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001672/0.6768, allocations: 0.7245 MB / 0.7332 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.976e-06/0.6768, allocations: 4 kB / 0.7332 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.6768, allocations: 0 / 0.7332 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.6768, allocations: 7.922 kB / 0.7332 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/0.6785, allocations: 0.9798 MB / 0.7341 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.6785, allocations: 3.938 kB / 0.7341 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.6787, allocations: 52.41 kB / 0.7342 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003176/0.6819, allocations: 436.4 kB / 0.7346 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.983e-05/0.682, allocations: 20.67 kB / 0.7346 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004878/0.6824, allocations: 0.5883 MB / 0.7352 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.6824, allocations: 0 / 0.7352 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009668/0.6834, allocations: 0.4972 MB / 0.7357 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001782/0.6836, allocations: 63.55 kB / 0.7357 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.6837, allocations: 19.89 kB / 0.7358 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004749/0.6842, allocations: 15.98 kB / 0.7358 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.922e-05/0.6843, allocations: 27.91 kB / 0.7358 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.074e-05/0.6843, allocations: 28.05 kB / 0.7358 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006226/0.685, allocations: 422.8 kB / 0.7362 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.685, allocations: 0 / 0.7362 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00117/0.6861, allocations: 387 kB / 0.7366 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.002841/0.689, allocations: 1.438 MB / 0.738 GB, free: 408 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001004/0.69, allocations: 355.6 kB / 0.7383 GB, free: 52 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/0.69, allocations: 0 / 0.7383 GB, free: 52 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003751/0.6903, allocations: 141.1 kB / 0.7385 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.002372/0.6927, allocations: 410.8 kB / 0.7389 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00872/0.7014, allocations: 5.012 MB / 0.7438 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000573/0.702, allocations: 0.8639 MB / 0.7446 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008478/0.7029, allocations: 225.2 kB / 0.7448 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004043/0.7033, allocations: 223.4 kB / 0.745 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of SimCode: time 9.92e-07/0.7033, allocations: 0 / 0.745 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2852/0.9885, allocations: 26.21 MB / 0.7706 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.03/15.02, allocations: 18.09 kB / 0.7707 GB, free: 214.1 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: 18.505981341993902]