Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001605/0.001605, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001942/0.001942, allocations: 215.8 kB / 23.73 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.517/1.517, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2332/0.2332, allocations: 46.97 MB / 360.9 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003389/0.003389, allocations: 71.88 kB / 0.4961 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3559, allocations: 66.04 MB / 0.5606 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.2025/0.5584, allocations: 160 MB / 0.7168 GB, free: 3.598 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008037/0.5665, allocations: 4.6 MB / 0.7213 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006528/0.5671, allocations: 35.69 kB / 0.7214 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.5682, allocations: 329.8 kB / 0.7217 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006052/0.5742, allocations: 2.167 MB / 0.7238 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002519/0.5767, allocations: 0.9305 MB / 0.7247 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002271/0.579, allocations: 1.699 MB / 0.7264 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006756/0.5797, allocations: 370.6 kB / 0.7267 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00186/0.5815, allocations: 0.8916 MB / 0.7276 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008108/0.5823, allocations: 0.5019 MB / 0.7281 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.5825, allocations: 52 kB / 0.7281 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002919/0.5854, allocations: 1.264 MB / 0.7294 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002235/0.5856, allocations: 183.3 kB / 0.7295 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003914/0.586, allocations: 318.8 kB / 0.7299 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003316/0.5893, allocations: 1.811 MB / 0.7316 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.5893, allocations: 0 / 0.7316 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.834e-06/0.5893, allocations: 0 / 0.7316 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.596e-05/0.5893, allocations: 0 / 0.7316 GB, free: 4.426 MB / 0.5606 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.002107/0.5914, allocations: 1.076 MB / 0.7327 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.5915, allocations: 12.03 kB / 0.7327 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001177/0.5916, allocations: 94.52 kB / 0.7328 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.5928, allocations: 167.4 kB / 0.7329 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008971/0.5937, allocations: 441.5 kB / 0.7334 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/0.5937, allocations: 29 kB / 0.7334 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.738e-05/0.5938, allocations: 44 kB / 0.7334 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.5952, allocations: 1.053 MB / 0.7345 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.5952, allocations: 0 / 0.7345 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.922e-05/0.5953, allocations: 24 kB / 0.7345 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.5953, allocations: 16 kB / 0.7345 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009282/0.5962, allocations: 495.6 kB / 0.735 GB, free: 0.793 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.2796/0.8758, allocations: 2.071 MB / 0.737 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009132/0.8768, allocations: 297.4 kB / 0.7373 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003298/0.8771, allocations: 141.9 kB / 0.7374 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002613/0.8773, allocations: 51.81 kB / 0.7375 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.8774, allocations: 42.16 kB / 0.7375 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 2.484e-06/0.8774, allocations: 0 / 0.7375 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.001871/0.8792, allocations: 0.6315 MB / 0.7381 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.8793, allocations: 158.8 kB / 0.7383 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006921/0.88, allocations: 0.5169 MB / 0.7388 GB, free: 174 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.574e-05/0.88, allocations: 36.52 kB / 0.7388 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.8802, allocations: 302.4 kB / 0.7391 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.413e-05/0.8803, allocations: 130.7 kB / 0.7392 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.8805, allocations: 117.8 kB / 0.7393 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.656e-05/0.8806, allocations: 369.2 kB / 0.7397 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002557/0.8808, allocations: 144.2 kB / 0.7398 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003656/0.8812, allocations: 418.4 kB / 0.7402 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005498/0.8817, allocations: 475.8 kB / 0.7407 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.8817, allocations: 3.938 kB / 0.7407 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008678/0.8826, allocations: 0.5737 MB / 0.7412 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.8826, allocations: 9.062 kB / 0.7412 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.8826, allocations: 8.406 kB / 0.7412 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001449/0.8841, allocations: 243.4 kB / 0.7415 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003511/0.8844, allocations: 117.2 kB / 0.7416 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003163/0.8848, allocations: 0.5807 MB / 0.7422 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003688/0.8851, allocations: 61.08 kB / 0.7422 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.513e-05/0.8852, allocations: 53.42 kB / 0.7423 GB, free: 171.7 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.0002296/0.8854, allocations: 191.2 kB / 0.7425 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.8855, allocations: 63.72 kB / 0.7425 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001499/0.887, allocations: 1.102 MB / 0.7436 GB, free: 171 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.887, allocations: 4 kB / 0.7436 GB, free: 171 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.887, allocations: 0 / 0.7436 GB, free: 171 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.887, allocations: 7.938 kB / 0.7436 GB, free: 171 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.8881, allocations: 0.9139 MB / 0.7445 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.8881, allocations: 0 / 0.7445 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.8883, allocations: 49.89 kB / 0.7445 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002785/0.8911, allocations: 441 kB / 0.745 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/0.8911, allocations: 11.94 kB / 0.745 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002623/0.8914, allocations: 0.5953 MB / 0.7456 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.8914, allocations: 4.031 kB / 0.7456 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005576/0.8919, allocations: 0.498 MB / 0.746 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.892, allocations: 66.31 kB / 0.7461 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.512e-05/0.8921, allocations: 15.95 kB / 0.7461 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003257/0.8925, allocations: 16 kB / 0.7461 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.596e-05/0.8925, allocations: 19.95 kB / 0.7462 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/0.8926, allocations: 23.92 kB / 0.7462 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004056/0.893, allocations: 430.8 kB / 0.7466 GB, free: 168 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.893, allocations: 0 / 0.7466 GB, free: 168 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000969/0.8939, allocations: 358.6 kB / 0.7469 GB, free: 167.7 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.001466/0.8954, allocations: 1.373 MB / 0.7483 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006947/0.8961, allocations: 354.2 kB / 0.7486 GB, free: 166 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.8961, allocations: 0 / 0.7486 GB, free: 166 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002483/0.8964, allocations: 144.7 kB / 0.7487 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/0.898, allocations: 413.3 kB / 0.7491 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005211/0.9032, allocations: 5.017 MB / 0.754 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001778/0.9034, allocations: 272 kB / 0.7543 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009103/0.9043, allocations: 0.5637 MB / 0.7549 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003234/0.9046, allocations: 239.3 kB / 0.7551 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of SimCode: time 7.21e-07/0.9046, allocations: 4 kB / 0.7551 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05643/0.9611, allocations: 27.1 MB / 0.7816 GB, free: 132.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/14.08, allocations: 7.797 kB / 0.7816 GB, free: 132.5 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Bend/Bend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.41504555894062]