Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008255/0.0008255, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000963/0.000963, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9029/0.9029, allocations: 177 MB / 204.1 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2498/0.2498, allocations: 34.25 MB / 294.8 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 442.2 MB, free: 1.574 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.391e-05, allocations: 2.281 kB / 442.2 MB, free: 1.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.2991/0.2991, allocations: 159.9 MB / 0.588 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005805/0.3049, allocations: 4.628 MB / 0.5925 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006815/0.3056, allocations: 31.75 kB / 0.5925 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000791/0.3064, allocations: 329.6 kB / 0.5928 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.004119/0.3105, allocations: 2.198 MB / 0.595 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001621/0.3121, allocations: 0.9632 MB / 0.5959 GB, free: 8.344 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001668/0.3138, allocations: 1.701 MB / 0.5976 GB, free: 6.641 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000413/0.3142, allocations: 370.5 kB / 0.5979 GB, free: 6.277 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001203/0.3154, allocations: 1.11 MB / 0.599 GB, free: 5.164 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004281/0.3158, allocations: 458.7 kB / 0.5994 GB, free: 4.715 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.883e-05/0.3159, allocations: 52 kB / 0.5995 GB, free: 4.664 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001792/0.3177, allocations: 1.279 MB / 0.6007 GB, free: 3.383 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.3178, allocations: 187.3 kB / 0.6009 GB, free: 3.199 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001937/0.318, allocations: 267.4 kB / 0.6012 GB, free: 2.938 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.002008/0.32, allocations: 1.925 MB / 0.6031 GB, free: 1.008 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.32, allocations: 0 / 0.6031 GB, free: 1.008 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.713e-06/0.32, allocations: 0 / 0.6031 GB, free: 1.008 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.397e-06/0.32, allocations: 0 / 0.6031 GB, free: 1.008 MB / 0.4948 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.001416/0.3214, allocations: 1.083 MB / 0.6041 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.3215, allocations: 9.062 kB / 0.6041 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.929e-05/0.3216, allocations: 94.52 kB / 0.6042 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006349/0.3222, allocations: 163.5 kB / 0.6044 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007096/0.3229, allocations: 437.5 kB / 0.6048 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.3229, allocations: 37 kB / 0.6048 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.485e-05/0.323, allocations: 40 kB / 0.6049 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008241/0.3238, allocations: 1.044 MB / 0.6059 GB, free: 13.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.3238, allocations: 4 kB / 0.6059 GB, free: 13.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.608e-05/0.3239, allocations: 23.94 kB / 0.6059 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.3239, allocations: 16 kB / 0.6059 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005571/0.3244, allocations: 495.6 kB / 0.6064 GB, free: 13.38 MB / 0.5105 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.001778/0.3262, allocations: 2.088 MB / 0.6084 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004232/0.3266, allocations: 295.3 kB / 0.6087 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.3268, allocations: 140.9 kB / 0.6088 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000177/0.327, allocations: 51.95 kB / 0.6089 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.327, allocations: 42.56 kB / 0.6089 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 1.984e-06/0.327, allocations: 0 / 0.6089 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35): time 0.001014/0.328, allocations: 0.6272 MB / 0.6095 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/0.3281, allocations: 162.2 kB / 0.6097 GB, free: 9.844 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003915/0.3285, allocations: 0.5144 MB / 0.6102 GB, free: 9.316 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.3285, allocations: 33.7 kB / 0.6102 GB, free: 9.277 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.3287, allocations: 300.2 kB / 0.6105 GB, free: 8.98 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.672e-05/0.3287, allocations: 134.8 kB / 0.6107 GB, free: 8.848 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.3288, allocations: 118.1 kB / 0.6108 GB, free: 8.727 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.3289, allocations: 362.8 kB / 0.6111 GB, free: 8.363 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.3291, allocations: 140.9 kB / 0.6112 GB, free: 8.227 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004413/0.3295, allocations: 428.8 kB / 0.6117 GB, free: 7.711 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004598/0.33, allocations: 478.7 kB / 0.6121 GB, free: 7.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.33, allocations: 0 / 0.6121 GB, free: 7.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006644/0.3307, allocations: 0.5642 MB / 0.6127 GB, free: 6.605 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.3307, allocations: 8 kB / 0.6127 GB, free: 6.598 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.3307, allocations: 11.88 kB / 0.6127 GB, free: 6.586 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007804/0.3315, allocations: 240.8 kB / 0.6129 GB, free: 6.348 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.3317, allocations: 123.8 kB / 0.613 GB, free: 6.227 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003252/0.332, allocations: 0.5836 MB / 0.6136 GB, free: 5.617 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/0.3322, allocations: 55.61 kB / 0.6137 GB, free: 5.562 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.98e-05/0.3323, allocations: 56.03 kB / 0.6137 GB, free: 5.508 MB / 0.5105 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.0001878/0.3325, allocations: 197.6 kB / 0.6139 GB, free: 5.305 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.316e-05/0.3325, allocations: 63.62 kB / 0.614 GB, free: 5.242 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.3337, allocations: 1.096 MB / 0.615 GB, free: 4.133 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.3337, allocations: 4 kB / 0.615 GB, free: 4.129 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3337, allocations: 0 / 0.615 GB, free: 4.129 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3337, allocations: 3.984 kB / 0.615 GB, free: 4.125 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009468/0.3347, allocations: 0.9133 MB / 0.6159 GB, free: 3.141 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.3347, allocations: 0 / 0.6159 GB, free: 3.141 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.3348, allocations: 51.92 kB / 0.616 GB, free: 3.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001367/0.3361, allocations: 436.4 kB / 0.6164 GB, free: 2.66 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.3362, allocations: 15.94 kB / 0.6164 GB, free: 2.645 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002841/0.3365, allocations: 0.5984 MB / 0.617 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3365, allocations: 0 / 0.617 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004446/0.3369, allocations: 0.5011 MB / 0.6175 GB, free: 1.484 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.832e-05/0.337, allocations: 67.55 kB / 0.6175 GB, free: 1.418 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.763e-05/0.337, allocations: 15.92 kB / 0.6176 GB, free: 1.402 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.3372, allocations: 14.19 kB / 0.6176 GB, free: 1.391 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.3372, allocations: 27.95 kB / 0.6176 GB, free: 1.363 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/0.3373, allocations: 19.98 kB / 0.6176 GB, free: 1.344 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003391/0.3376, allocations: 434.7 kB / 0.618 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3376, allocations: 0 / 0.618 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008683/0.3385, allocations: 347.1 kB / 0.6184 GB, free: 0.582 MB / 0.5105 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.00129/0.3398, allocations: 1.399 MB / 0.6197 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005167/0.3403, allocations: 348.2 kB / 0.6201 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3403, allocations: 0 / 0.6201 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.3405, allocations: 149 kB / 0.6202 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.3415, allocations: 407 kB / 0.6206 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004508/0.346, allocations: 5.001 MB / 0.6255 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/0.3461, allocations: 272 kB / 0.6257 GB, free: 8.73 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007448/0.3469, allocations: 0.5759 MB / 0.6263 GB, free: 8.16 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/0.3472, allocations: 240.4 kB / 0.6265 GB, free: 7.926 MB / 0.5261 GB Notification: Performance of SimCode: time 1.182e-06/0.3472, allocations: 0 / 0.6265 GB, free: 7.926 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1988/0.546, allocations: 27.15 MB / 0.653 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.137/8.683, allocations: 13.23 kB / 0.653 GB, free: 159.3 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Bend/Bend.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 10.821187874302268]