Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.001353/0.001353, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001544/0.001544, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.431/1.431, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2185/0.2185, allocations: 44.91 MB / 358.8 MB, free: 6.293 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002139/0.002139, allocations: 72.09 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3359, allocations: 65.46 MB / 0.557 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.5136/0.8495, allocations: 186.9 MB / 0.7395 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005061/0.8545, allocations: 3.692 MB / 0.7431 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004548/0.855, allocations: 25.91 kB / 0.7432 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007926/0.8558, allocations: 327.2 kB / 0.7435 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003719/0.8595, allocations: 1.764 MB / 0.7452 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.861, allocations: 0.7193 MB / 0.7459 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001483/0.8625, allocations: 1.556 MB / 0.7474 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004582/0.863, allocations: 363.3 kB / 0.7478 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007344/0.8637, allocations: 0.6029 MB / 0.7484 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005219/0.8642, allocations: 484.4 kB / 0.7488 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.382e-05/0.8643, allocations: 51.78 kB / 0.7489 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003341/0.8677, allocations: 2.422 MB / 0.7512 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.8678, allocations: 166.5 kB / 0.7514 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003431/0.8682, allocations: 347.6 kB / 0.7517 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002421/0.8706, allocations: 2 MB / 0.7537 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.8706, allocations: 1.203 kB / 0.7537 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8706, allocations: 0.5625 kB / 0.7537 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.8706, allocations: 0 / 0.7537 GB, free: 1.543 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001892/0.8725, allocations: 1.033 MB / 0.7547 GB, free: 16.97 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.8725, allocations: 12 kB / 0.7547 GB, free: 16.97 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.67e-05/0.8726, allocations: 77.05 kB / 0.7548 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009394/0.8736, allocations: 147.2 kB / 0.7549 GB, free: 16.9 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007789/0.8743, allocations: 432.7 kB / 0.7553 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/0.8744, allocations: 33.03 kB / 0.7554 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.835e-05/0.8744, allocations: 38.03 kB / 0.7554 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000947/0.8754, allocations: 0.5892 MB / 0.756 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.8754, allocations: 4.188 kB / 0.756 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.767e-05/0.8754, allocations: 20.16 kB / 0.756 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.8755, allocations: 11.16 kB / 0.756 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008185/0.8763, allocations: 484.3 kB / 0.7565 GB, free: 16.58 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.003186/0.8795, allocations: 2.619 MB / 0.759 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006511/0.8801, allocations: 327.9 kB / 0.7593 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002598/0.8804, allocations: 155.7 kB / 0.7595 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002286/0.8806, allocations: 49.98 kB / 0.7595 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.8806, allocations: 42.2 kB / 0.7596 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.823e-06/0.8806, allocations: 0.875 kB / 0.7596 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001551/0.8822, allocations: 0.65 MB / 0.7602 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.632e-05/0.8823, allocations: 130.6 kB / 0.7603 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005173/0.8828, allocations: 484.3 kB / 0.7608 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.153e-05/0.8829, allocations: 33.73 kB / 0.7608 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/0.8831, allocations: 286.3 kB / 0.7611 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.216e-05/0.8831, allocations: 125.2 kB / 0.7612 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.8833, allocations: 105.1 kB / 0.7613 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001986/0.8835, allocations: 361.3 kB / 0.7617 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002676/0.8837, allocations: 151.6 kB / 0.7618 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003205/0.8841, allocations: 281.6 kB / 0.7621 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005742/0.8846, allocations: 438.6 kB / 0.7625 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.8846, allocations: 3.25 kB / 0.7625 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008544/0.8855, allocations: 0.5426 MB / 0.763 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.8855, allocations: 4.781 kB / 0.763 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.8855, allocations: 3.594 kB / 0.763 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001458/0.887, allocations: 241.6 kB / 0.7633 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003225/0.8873, allocations: 104.6 kB / 0.7634 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004601/0.8878, allocations: 0.5982 MB / 0.764 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003242/0.8881, allocations: 47.17 kB / 0.764 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-05/0.8881, allocations: 46.97 kB / 0.764 GB, free: 12.91 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (44): * Single equations (assignments): 43 * 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.000235/0.8884, allocations: 181.1 kB / 0.7642 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.8885, allocations: 54.95 kB / 0.7643 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001615/0.8901, allocations: 1.093 MB / 0.7653 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.8901, allocations: 2.656 kB / 0.7653 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.8901, allocations: 0.75 kB / 0.7653 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.8901, allocations: 3 kB / 0.7653 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.8914, allocations: 0.9858 MB / 0.7663 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.8914, allocations: 0.9062 kB / 0.7663 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001956/0.8916, allocations: 54.78 kB / 0.7664 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003046/0.8947, allocations: 441.6 kB / 0.7668 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.8947, allocations: 12.95 kB / 0.7668 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000461/0.8951, allocations: 0.6093 MB / 0.7674 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.8951, allocations: 7.375 kB / 0.7674 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007208/0.8959, allocations: 0.5079 MB / 0.7679 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.896, allocations: 59.45 kB / 0.768 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.867e-05/0.8961, allocations: 21.97 kB / 0.768 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003143/0.8964, allocations: 20.78 kB / 0.768 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.8964, allocations: 26.72 kB / 0.768 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.764e-05/0.8965, allocations: 17.36 kB / 0.768 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004021/0.8969, allocations: 406.9 kB / 0.7684 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.8969, allocations: 1 kB / 0.7684 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008981/0.8978, allocations: 345 kB / 0.7688 GB, free: 11.32 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 26 * 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.001778/0.8996, allocations: 1.365 MB / 0.7701 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007238/0.9003, allocations: 358.6 kB / 0.7704 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.9003, allocations: 0 / 0.7704 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003006/0.9006, allocations: 163.6 kB / 0.7706 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/0.9021, allocations: 375.7 kB / 0.7709 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00584/0.908, allocations: 4.872 MB / 0.7757 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/0.9084, allocations: 0.8602 MB / 0.7765 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009509/0.9093, allocations: 0.5594 MB / 0.7771 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003216/0.9097, allocations: 225.6 kB / 0.7773 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of SimCode: time 5.81e-07/0.9097, allocations: 0 / 0.7773 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05884/0.9685, allocations: 23.98 MB / 0.8007 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.29/15.26, allocations: 9.094 kB / 0.8007 GB, free: 14.12 MB / 0.5919 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/CurvedBend/CurvedBend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.32776280399412]