Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001501/0.001501, allocations: 113.1 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.001804/0.001804, allocations: 217.2 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.449/1.449, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2238/0.2238, allocations: 44.91 MB / 358.8 MB, free: 6.281 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.EdgedBend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",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.002303/0.002303, allocations: 63.91 kB / 0.4931 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3107, allocations: 65.47 MB / 0.557 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.5159/0.8266, allocations: 186.8 MB / 0.7395 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006168/0.8328, allocations: 3.694 MB / 0.7431 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007494/0.8335, allocations: 25.47 kB / 0.7431 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008965/0.8344, allocations: 319.9 kB / 0.7434 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004058/0.8385, allocations: 1.762 MB / 0.7452 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001748/0.8402, allocations: 0.7277 MB / 0.7459 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001632/0.8419, allocations: 1.548 MB / 0.7474 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004989/0.8424, allocations: 362.8 kB / 0.7477 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008108/0.8432, allocations: 0.5948 MB / 0.7483 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005775/0.8437, allocations: 480.7 kB / 0.7488 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.214e-05/0.8438, allocations: 48.81 kB / 0.7488 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003107/0.8469, allocations: 1.964 MB / 0.7507 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001715/0.8471, allocations: 160.1 kB / 0.7509 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003794/0.8475, allocations: 342 kB / 0.7512 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002399/0.8499, allocations: 1.829 MB / 0.753 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.8499, allocations: 0 / 0.753 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8499, allocations: 3.188 kB / 0.753 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.316e-05/0.8499, allocations: 1.062 kB / 0.753 GB, free: 1.582 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.001953/0.8519, allocations: 1.041 MB / 0.754 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.8519, allocations: 8.594 kB / 0.754 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.96e-05/0.852, allocations: 78.84 kB / 0.7541 GB, free: 16.97 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009846/0.853, allocations: 145.3 kB / 0.7542 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007903/0.8538, allocations: 426.8 kB / 0.7546 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.8538, allocations: 28.81 kB / 0.7547 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.072e-05/0.8539, allocations: 41.44 kB / 0.7547 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009558/0.8548, allocations: 0.5918 MB / 0.7553 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.8548, allocations: 0 / 0.7553 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.788e-05/0.8549, allocations: 22.25 kB / 0.7553 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.8549, allocations: 10.25 kB / 0.7553 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008065/0.8557, allocations: 476.6 kB / 0.7558 GB, free: 16.61 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.002973/0.8587, allocations: 2.608 MB / 0.7583 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006504/0.8593, allocations: 327.2 kB / 0.7586 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002571/0.8596, allocations: 160 kB / 0.7588 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002263/0.8598, allocations: 50.69 kB / 0.7588 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.8598, allocations: 43.66 kB / 0.7589 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.934e-06/0.8598, allocations: 1.094 kB / 0.7589 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001548/0.8614, allocations: 0.634 MB / 0.7595 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.819e-05/0.8615, allocations: 137.5 kB / 0.7596 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004575/0.862, allocations: 473.6 kB / 0.7601 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.424e-05/0.862, allocations: 32.48 kB / 0.7601 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.8622, allocations: 278.4 kB / 0.7604 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.707e-05/0.8622, allocations: 120.8 kB / 0.7605 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.8624, allocations: 108.9 kB / 0.7606 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.8625, allocations: 360.3 kB / 0.7609 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003462/0.8629, allocations: 151.5 kB / 0.7611 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003701/0.8633, allocations: 283.3 kB / 0.7614 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005989/0.8639, allocations: 436.9 kB / 0.7618 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.8639, allocations: 3.438 kB / 0.7618 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008958/0.8648, allocations: 0.5345 MB / 0.7623 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.8648, allocations: 5.938 kB / 0.7623 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.8648, allocations: 5.812 kB / 0.7623 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001485/0.8663, allocations: 235.4 kB / 0.7625 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003477/0.8666, allocations: 102.1 kB / 0.7626 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005125/0.8671, allocations: 0.6002 MB / 0.7632 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003669/0.8675, allocations: 48.52 kB / 0.7633 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.33e-05/0.8676, allocations: 48.08 kB / 0.7633 GB, free: 12.94 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.0002705/0.8678, allocations: 174 kB / 0.7635 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.868, allocations: 57.8 kB / 0.7635 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001712/0.8697, allocations: 1.089 MB / 0.7646 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.8697, allocations: 2.312 kB / 0.7646 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.8697, allocations: 0.9062 kB / 0.7646 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.8697, allocations: 2.906 kB / 0.7646 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.8711, allocations: 0.9831 MB / 0.7656 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.8711, allocations: 0 / 0.7656 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/0.8713, allocations: 51.8 kB / 0.7656 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003242/0.8746, allocations: 443.2 kB / 0.766 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.262e-05/0.8746, allocations: 13.25 kB / 0.766 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005227/0.8752, allocations: 0.5979 MB / 0.7666 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.8752, allocations: 0.5938 kB / 0.7666 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008509/0.876, allocations: 0.51 MB / 0.7671 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.8762, allocations: 56.94 kB / 0.7672 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.8763, allocations: 18.14 kB / 0.7672 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000327/0.8766, allocations: 25.44 kB / 0.7672 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.915e-05/0.8767, allocations: 24.84 kB / 0.7672 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/0.8767, allocations: 17.88 kB / 0.7673 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004842/0.8772, allocations: 398.3 kB / 0.7676 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8772, allocations: 1.031 kB / 0.7676 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001115/0.8783, allocations: 343.4 kB / 0.768 GB, free: 11.36 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.002203/0.8805, allocations: 1.373 MB / 0.7693 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009466/0.8814, allocations: 357 kB / 0.7696 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.8814, allocations: 4.781 kB / 0.7697 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003464/0.8818, allocations: 159.1 kB / 0.7698 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001683/0.8835, allocations: 360.3 kB / 0.7701 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006829/0.8903, allocations: 4.83 MB / 0.7749 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004546/0.8908, allocations: 0.8593 MB / 0.7757 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001099/0.8919, allocations: 0.5591 MB / 0.7762 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003689/0.8922, allocations: 222.8 kB / 0.7765 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of SimCode: time 9.52e-07/0.8922, allocations: 1 kB / 0.7765 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06333/0.9556, allocations: 23.46 MB / 0.7994 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.25/15.21, allocations: 7.922 kB / 0.7994 GB, free: 15.11 MB / 0.5919 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 18.28467220510356]