Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.001825/0.001825, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002162/0.002162, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.463/1.463, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.2606/0.2606, allocations: 46.93 MB / 357.1 MB, free: 10.3 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.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 75.88 kB / 0.4909 GB, free: 7.934 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1169, allocations: 65.99 MB / 0.5554 GB, free: 5.816 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.4938/0.6107, allocations: 186.6 MB / 0.7376 GB, free: 6.723 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0069/0.6176, allocations: 3.674 MB / 0.7412 GB, free: 3.035 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006086/0.6182, allocations: 23.81 kB / 0.7412 GB, free: 3.012 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001179/0.6194, allocations: 317.8 kB / 0.7415 GB, free: 2.699 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005045/0.6244, allocations: 1.739 MB / 0.7432 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001892/0.6263, allocations: 0.7191 MB / 0.7439 GB, free: 256 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002224/0.6285, allocations: 1.528 MB / 0.7454 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006339/0.6292, allocations: 371.4 kB / 0.7458 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000983/0.6301, allocations: 0.6033 MB / 0.7463 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006004/0.6307, allocations: 474 kB / 0.7468 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.474e-05/0.6308, allocations: 52 kB / 0.7469 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003506/0.6343, allocations: 1.946 MB / 0.7488 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001968/0.6345, allocations: 163.3 kB / 0.7489 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004186/0.6349, allocations: 334.5 kB / 0.7492 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002882/0.6378, allocations: 1.834 MB / 0.751 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.6378, allocations: 0 / 0.751 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6378, allocations: 0 / 0.751 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.32e-05/0.6378, allocations: 0 / 0.751 GB, free: 8.949 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.002185/0.64, allocations: 1.108 MB / 0.7521 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.6401, allocations: 8.031 kB / 0.7521 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001253/0.6402, allocations: 86.47 kB / 0.7522 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.6413, allocations: 143.5 kB / 0.7523 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008148/0.6421, allocations: 488.8 kB / 0.7528 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.098e-05/0.6421, allocations: 29 kB / 0.7528 GB, free: 7 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.923e-05/0.6422, allocations: 43.94 kB / 0.7529 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.6434, allocations: 0.5905 MB / 0.7534 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.6434, allocations: 7.938 kB / 0.7534 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.613e-05/0.6435, allocations: 20 kB / 0.7535 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.6435, allocations: 12 kB / 0.7535 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.6445, allocations: 475.6 kB / 0.7539 GB, free: 5.824 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.003374/0.6479, allocations: 2.648 MB / 0.7565 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008171/0.6487, allocations: 323.4 kB / 0.7568 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003523/0.649, allocations: 157.3 kB / 0.757 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004442/0.6495, allocations: 433.8 kB / 0.7574 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.6495, allocations: 38.84 kB / 0.7574 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.824e-06/0.6495, allocations: 0 / 0.7574 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001912/0.6514, allocations: 0.715 MB / 0.7581 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.451e-05/0.6515, allocations: 132.5 kB / 0.7583 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006036/0.6521, allocations: 474 kB / 0.7587 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.387e-05/0.6522, allocations: 29.7 kB / 0.7587 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002349/0.6524, allocations: 284.2 kB / 0.759 GB, free: 228 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.6525, allocations: 123 kB / 0.7591 GB, free: 104 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/0.6527, allocations: 102.2 kB / 0.7592 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.6529, allocations: 358.8 kB / 0.7596 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003561/0.6533, allocations: 144.8 kB / 0.7597 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004725/0.6537, allocations: 283.6 kB / 0.76 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008376/0.6546, allocations: 445.6 kB / 0.7604 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.6546, allocations: 0 / 0.7604 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001188/0.6558, allocations: 0.5367 MB / 0.7609 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.6558, allocations: 15.92 kB / 0.7609 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.6558, allocations: 4 kB / 0.7609 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001667/0.6575, allocations: 233 kB / 0.7612 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004039/0.6579, allocations: 114.1 kB / 0.7613 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005395/0.6584, allocations: 0.5875 MB / 0.7618 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003429/0.6587, allocations: 51.66 kB / 0.7619 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.418e-05/0.6588, allocations: 43.98 kB / 0.7619 GB, free: 13.06 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.0002812/0.6591, allocations: 187.8 kB / 0.7621 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.6593, allocations: 55.73 kB / 0.7622 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00209/0.6613, allocations: 1.076 MB / 0.7632 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.6614, allocations: 4 kB / 0.7632 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.6614, allocations: 0 / 0.7632 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.6614, allocations: 0 / 0.7632 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001667/0.663, allocations: 1.01 MB / 0.7642 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.663, allocations: 3.938 kB / 0.7642 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002401/0.6633, allocations: 51.97 kB / 0.7643 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003402/0.6667, allocations: 440.9 kB / 0.7647 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-05/0.6667, allocations: 11.98 kB / 0.7647 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005414/0.6673, allocations: 0.6031 MB / 0.7653 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.6673, allocations: 4.031 kB / 0.7653 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009187/0.6682, allocations: 0.504 MB / 0.7658 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001676/0.6683, allocations: 132.7 kB / 0.7659 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.6684, allocations: 15.89 kB / 0.7659 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003533/0.6688, allocations: 23.98 kB / 0.7659 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.44e-05/0.6689, allocations: 23.91 kB / 0.766 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.039e-05/0.6689, allocations: 19.98 kB / 0.766 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005622/0.6695, allocations: 398.8 kB / 0.7664 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6695, allocations: 0 / 0.7664 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001006/0.6705, allocations: 347 kB / 0.7667 GB, free: 8.008 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.002318/0.6728, allocations: 1.376 MB / 0.768 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009304/0.6737, allocations: 351.6 kB / 0.7684 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.6737, allocations: 3.938 kB / 0.7684 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003862/0.6741, allocations: 162.1 kB / 0.7685 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001805/0.6759, allocations: 366.5 kB / 0.7689 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007483/0.6834, allocations: 4.806 MB / 0.7736 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005635/0.684, allocations: 0.8518 MB / 0.7744 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00114/0.6851, allocations: 0.5671 MB / 0.775 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004492/0.6856, allocations: 227.3 kB / 0.7752 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of SimCode: time 1.172e-06/0.6856, allocations: 0 / 0.7752 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05824/0.7438, allocations: 23.18 MB / 0.7978 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/14.15, allocations: 15.44 kB / 0.7978 GB, free: 8.09 MB / 0.6075 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.333380910102278]