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.00209/0.00209, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001557/0.001557, allocations: 202.2 kB / 24.52 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.424/1.424, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.221/0.221, allocations: 46.94 MB / 361.6 MB, free: 4.285 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.001941/0.001941, allocations: 71.91 kB / 0.4969 GB, free: 7.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3501, allocations: 66.03 MB / 0.5614 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.525/0.8751, allocations: 184.9 MB / 0.742 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006554/0.8816, allocations: 5.026 MB / 0.7469 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006646/0.8823, allocations: 26.41 kB / 0.747 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008793/0.8832, allocations: 346.3 kB / 0.7473 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005216/0.8884, allocations: 2.17 MB / 0.7494 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002368/0.8908, allocations: 0.941 MB / 0.7503 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001767/0.8925, allocations: 1.7 MB / 0.752 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005062/0.893, allocations: 381.4 kB / 0.7524 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001545/0.8946, allocations: 0.8788 MB / 0.7532 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006459/0.8952, allocations: 0.5259 MB / 0.7537 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.2e-05/0.8953, allocations: 54.72 kB / 0.7538 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00382/0.8991, allocations: 2.525 MB / 0.7562 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001968/0.8993, allocations: 172.4 kB / 0.7564 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004407/0.8998, allocations: 377.3 kB / 0.7568 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00295/0.9027, allocations: 2.133 MB / 0.7589 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.9027, allocations: 1.812 kB / 0.7589 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9027, allocations: 4.844 kB / 0.7589 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.9027, allocations: 0 / 0.7589 GB, free: 1.5 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.00206/0.9048, allocations: 1.09 MB / 0.7599 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.9048, allocations: 11.48 kB / 0.7599 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.104e-05/0.9049, allocations: 12.38 kB / 0.7599 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.712e-05/0.9049, allocations: 86.8 kB / 0.76 GB, free: 16.87 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/0.9061, allocations: 167.6 kB / 0.7602 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007309/0.9068, allocations: 444.6 kB / 0.7606 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.9069, allocations: 35.66 kB / 0.7606 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.922e-05/0.9069, allocations: 43.06 kB / 0.7607 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009573/0.9079, allocations: 0.6462 MB / 0.7613 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.9079, allocations: 0 / 0.7613 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-05/0.908, allocations: 19.88 kB / 0.7613 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.908, allocations: 11.16 kB / 0.7613 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007689/0.9087, allocations: 0.4898 MB / 0.7618 GB, free: 16.48 MB / 0.5762 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.002809/0.9115, allocations: 2.604 MB / 0.7644 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006033/0.9121, allocations: 300.4 kB / 0.7647 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/0.9124, allocations: 140.3 kB / 0.7648 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002125/0.9126, allocations: 58.88 kB / 0.7648 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.9126, allocations: 41.94 kB / 0.7649 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 1.813e-06/0.9126, allocations: 0 / 0.7649 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.00143/0.914, allocations: 0.6215 MB / 0.7655 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.9142, allocations: 161.2 kB / 0.7656 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004631/0.9146, allocations: 0.511 MB / 0.7661 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.465e-05/0.9147, allocations: 33.7 kB / 0.7662 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.9148, allocations: 295.3 kB / 0.7665 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.787e-05/0.9149, allocations: 136.6 kB / 0.7666 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.9151, allocations: 116.7 kB / 0.7667 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.9152, allocations: 364.1 kB / 0.767 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.9155, allocations: 144.7 kB / 0.7672 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003296/0.9158, allocations: 319.6 kB / 0.7675 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000617/0.9164, allocations: 477.2 kB / 0.7679 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.9164, allocations: 4.141 kB / 0.768 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008784/0.9173, allocations: 0.5699 MB / 0.7685 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.9173, allocations: 8.188 kB / 0.7685 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.9173, allocations: 6.031 kB / 0.7685 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001445/0.9188, allocations: 237.7 kB / 0.7687 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003534/0.9191, allocations: 113.7 kB / 0.7689 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004651/0.9196, allocations: 0.5862 MB / 0.7694 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000359/0.9199, allocations: 62.56 kB / 0.7695 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.425e-05/0.92, allocations: 53.86 kB / 0.7695 GB, free: 12.75 MB / 0.5762 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.0002502/0.9203, allocations: 191.6 kB / 0.7697 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.9204, allocations: 67.42 kB / 0.7698 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001592/0.922, allocations: 1.093 MB / 0.7709 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.585e-06/0.922, allocations: 5.75 kB / 0.7709 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.922, allocations: 4.281 kB / 0.7709 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.922, allocations: 2.906 kB / 0.7709 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.9232, allocations: 0.9595 MB / 0.7718 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.9232, allocations: 1.062 kB / 0.7718 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.9234, allocations: 51.73 kB / 0.7719 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002912/0.9263, allocations: 433.1 kB / 0.7723 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.105e-05/0.9263, allocations: 20.09 kB / 0.7723 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004287/0.9268, allocations: 0.593 MB / 0.7729 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.9268, allocations: 3.938 kB / 0.7729 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006731/0.9274, allocations: 0.5004 MB / 0.7734 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.9276, allocations: 70.83 kB / 0.7734 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.9277, allocations: 11.39 kB / 0.7734 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003324/0.928, allocations: 13.53 kB / 0.7734 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.085e-05/0.9281, allocations: 38.22 kB / 0.7735 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.262e-05/0.9281, allocations: 19.3 kB / 0.7735 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004333/0.9285, allocations: 432.9 kB / 0.7739 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9285, allocations: 0 / 0.7739 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009582/0.9295, allocations: 355.1 kB / 0.7743 GB, free: 11.12 MB / 0.5762 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.001773/0.9312, allocations: 1.377 MB / 0.7756 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006831/0.9319, allocations: 355.5 kB / 0.7759 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.9319, allocations: 1 kB / 0.7759 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002555/0.9322, allocations: 145.3 kB / 0.7761 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001804/0.934, allocations: 424.4 kB / 0.7765 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005966/0.94, allocations: 5.005 MB / 0.7814 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004348/0.9404, allocations: 0.8719 MB / 0.7822 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001026/0.9414, allocations: 0.5663 MB / 0.7828 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003481/0.9418, allocations: 245.3 kB / 0.783 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of SimCode: time 1.122e-06/0.9418, allocations: 0 / 0.783 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05351/0.9953, allocations: 25.43 MB / 0.8078 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.86/14.85, allocations: 7.922 kB / 0.8078 GB, free: 10.31 MB / 0.5919 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.264650241006166]