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.001781/0.001781, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.00217/0.00217, allocations: 212.8 kB / 24.52 MB, free: 3.914 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.492/1.492, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.2281/0.2281, allocations: 46.95 MB / 361.7 MB, free: 4.148 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002686/0.002686, allocations: 63.91 kB / 0.4969 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.38, allocations: 66.04 MB / 0.5614 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.2857/0.6657, allocations: 159.9 MB / 0.7175 GB, free: 3.797 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01221/0.6779, allocations: 4.603 MB / 0.722 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001138/0.6791, allocations: 19.81 kB / 0.722 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00166/0.6807, allocations: 337.7 kB / 0.7223 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009121/0.6899, allocations: 2.169 MB / 0.7244 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003673/0.6935, allocations: 0.9419 MB / 0.7254 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003476/0.697, allocations: 1.699 MB / 0.727 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008665/0.6979, allocations: 378.5 kB / 0.7274 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002735/0.7006, allocations: 0.8877 MB / 0.7283 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001188/0.7018, allocations: 0.5176 MB / 0.7288 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001545/0.7019, allocations: 59.94 kB / 0.7288 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004084/0.706, allocations: 1.318 MB / 0.7301 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003224/0.7064, allocations: 183.3 kB / 0.7303 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005659/0.7069, allocations: 314.8 kB / 0.7306 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004068/0.711, allocations: 1.815 MB / 0.7323 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.711, allocations: 0 / 0.7323 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.372e-06/0.711, allocations: 0 / 0.7323 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.711, allocations: 0 / 0.7323 GB, free: 4.535 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.003063/0.7141, allocations: 1.08 MB / 0.7334 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.7141, allocations: 8.031 kB / 0.7334 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.743e-05/0.7142, allocations: 16.94 kB / 0.7334 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001695/0.7143, allocations: 90.52 kB / 0.7335 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002285/0.7166, allocations: 167.5 kB / 0.7337 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.7179, allocations: 441.5 kB / 0.7341 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.005e-05/0.7179, allocations: 29 kB / 0.7341 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.7181, allocations: 51.94 kB / 0.7342 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002213/0.7203, allocations: 1.042 MB / 0.7352 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.7203, allocations: 0 / 0.7352 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.7204, allocations: 24 kB / 0.7352 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.674e-05/0.7204, allocations: 12 kB / 0.7352 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/0.7219, allocations: 0.4956 MB / 0.7357 GB, free: 0.8789 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.2956/1.017, allocations: 2.077 MB / 0.7377 GB, free: 175 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009003/1.018, allocations: 293.3 kB / 0.738 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003263/1.019, allocations: 142.1 kB / 0.7382 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002917/1.019, allocations: 55.47 kB / 0.7382 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/1.019, allocations: 41.81 kB / 0.7382 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 3.056e-06/1.019, allocations: 0.5625 kB / 0.7382 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.001982/1.021, allocations: 0.6246 MB / 0.7389 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/1.021, allocations: 159.2 kB / 0.739 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006792/1.022, allocations: 0.5116 MB / 0.7395 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.994e-05/1.022, allocations: 36.58 kB / 0.7395 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/1.022, allocations: 306.5 kB / 0.7398 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/1.022, allocations: 130.2 kB / 0.74 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001879/1.022, allocations: 117.3 kB / 0.7401 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001095/1.022, allocations: 367.2 kB / 0.7404 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002816/1.023, allocations: 143.4 kB / 0.7406 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003951/1.023, allocations: 420 kB / 0.741 GB, free: 173 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005746/1.024, allocations: 475.7 kB / 0.7414 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/1.024, allocations: 6.75 kB / 0.7414 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009227/1.025, allocations: 0.5705 MB / 0.742 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/1.025, allocations: 10.88 kB / 0.742 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/1.025, allocations: 3.5 kB / 0.742 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001577/1.026, allocations: 244.3 kB / 0.7422 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003859/1.027, allocations: 120 kB / 0.7423 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003286/1.027, allocations: 0.5843 MB / 0.7429 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003682/1.027, allocations: 57.53 kB / 0.743 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.937e-05/1.027, allocations: 53.52 kB / 0.743 GB, free: 171.9 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.0002526/1.028, allocations: 192.4 kB / 0.7432 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/1.028, allocations: 61.81 kB / 0.7433 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/1.029, allocations: 1.105 MB / 0.7443 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/1.029, allocations: 7.969 kB / 0.7443 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.029, allocations: 0 / 0.7443 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/1.029, allocations: 0 / 0.7443 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/1.03, allocations: 0.9082 MB / 0.7452 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.03, allocations: 0 / 0.7452 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/1.031, allocations: 51.16 kB / 0.7453 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002993/1.034, allocations: 444.7 kB / 0.7457 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/1.034, allocations: 8 kB / 0.7457 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002801/1.034, allocations: 0.603 MB / 0.7463 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.034, allocations: 4.031 kB / 0.7463 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005484/1.034, allocations: 0.4901 MB / 0.7468 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.682e-05/1.034, allocations: 64.11 kB / 0.7468 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/1.035, allocations: 20.8 kB / 0.7469 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003336/1.035, allocations: 12 kB / 0.7469 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/1.035, allocations: 27.95 kB / 0.7469 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.019e-05/1.035, allocations: 19.98 kB / 0.7469 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003832/1.035, allocations: 430.8 kB / 0.7473 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.035, allocations: 0 / 0.7473 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008858/1.036, allocations: 354.6 kB / 0.7477 GB, free: 167.9 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.001423/1.038, allocations: 1.386 MB / 0.749 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006377/1.038, allocations: 350 kB / 0.7494 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.038, allocations: 3.625 kB / 0.7494 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002404/1.039, allocations: 140.8 kB / 0.7495 GB, free: 166 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/1.04, allocations: 403.7 kB / 0.7499 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004939/1.045, allocations: 5.02 MB / 0.7548 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001649/1.045, allocations: 272 kB / 0.755 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009427/1.046, allocations: 0.5693 MB / 0.7556 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003304/1.047, allocations: 243.3 kB / 0.7558 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of SimCode: time 8.61e-07/1.047, allocations: 0 / 0.7558 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04516/1.092, allocations: 26.69 MB / 0.7819 GB, free: 133.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.15/15.24, allocations: 14.14 kB / 0.7819 GB, free: 133.1 MB / 0.5606 GB " [Timeout remaining time 645] (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: 18.68086141499225]