Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001309/0.001309, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001504/0.001504, allocations: 215.3 kB / 23.73 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.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2263/0.2263, allocations: 46.96 MB / 360.9 MB, free: 4.02 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.CurvedBend,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 71.89 kB / 0.4961 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2961, allocations: 66.03 MB / 0.5606 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.1981/0.4941, allocations: 161.7 MB / 0.7186 GB, free: 1.875 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006612/0.5007, allocations: 3.404 MB / 0.7219 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006499/0.5014, allocations: 23.75 kB / 0.7219 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009951/0.5024, allocations: 313.9 kB / 0.7222 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004528/0.5069, allocations: 1.763 MB / 0.7239 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00178/0.5087, allocations: 0.7081 MB / 0.7246 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002159/0.5108, allocations: 1.547 MB / 0.7261 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007491/0.5116, allocations: 371.8 kB / 0.7265 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001273/0.5129, allocations: 0.6111 MB / 0.7271 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007838/0.5136, allocations: 454 kB / 0.7275 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.5138, allocations: 48 kB / 0.7276 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002881/0.5166, allocations: 1.193 MB / 0.7287 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002042/0.5168, allocations: 167.3 kB / 0.7289 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004139/0.5173, allocations: 290.8 kB / 0.7292 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003047/0.5203, allocations: 1.667 MB / 0.7308 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.5203, allocations: 0 / 0.7308 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5203, allocations: 0 / 0.7308 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.5203, allocations: 0 / 0.7308 GB, free: 5.312 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.001914/0.5222, allocations: 1.041 MB / 0.7318 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.5223, allocations: 15.97 kB / 0.7318 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001151/0.5224, allocations: 86.52 kB / 0.7319 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009609/0.5233, allocations: 131.5 kB / 0.732 GB, free: 4 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008304/0.5242, allocations: 429.6 kB / 0.7324 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.52e-05/0.5242, allocations: 36.94 kB / 0.7325 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.972e-05/0.5243, allocations: 36 kB / 0.7325 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.5256, allocations: 0.8957 MB / 0.7334 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.5256, allocations: 0 / 0.7334 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.04e-05/0.5256, allocations: 24 kB / 0.7334 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.5257, allocations: 12 kB / 0.7334 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009751/0.5266, allocations: 475.6 kB / 0.7339 GB, free: 1.977 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.2259/0.7525, allocations: 1.962 MB / 0.7358 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009589/0.7535, allocations: 316.8 kB / 0.7361 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003585/0.7538, allocations: 157.2 kB / 0.7362 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002567/0.7541, allocations: 53.23 kB / 0.7363 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.7541, allocations: 45.69 kB / 0.7363 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.114e-06/0.7541, allocations: 0 / 0.7363 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001875/0.756, allocations: 0.6459 MB / 0.737 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.756, allocations: 133.7 kB / 0.7371 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006159/0.7567, allocations: 487.1 kB / 0.7376 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.202e-05/0.7567, allocations: 40.27 kB / 0.7376 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.7569, allocations: 279.5 kB / 0.7379 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.841e-05/0.757, allocations: 126.1 kB / 0.738 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.7571, allocations: 108 kB / 0.7381 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.801e-05/0.7572, allocations: 356.4 kB / 0.7384 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000305/0.7575, allocations: 149.4 kB / 0.7386 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003527/0.7578, allocations: 358.3 kB / 0.7389 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006342/0.7585, allocations: 445.6 kB / 0.7393 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.7585, allocations: 0 / 0.7393 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008919/0.7594, allocations: 0.5479 MB / 0.7399 GB, free: 174 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.7594, allocations: 3.406 kB / 0.7399 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.7594, allocations: 3.875 kB / 0.7399 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001429/0.7608, allocations: 243.4 kB / 0.7401 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/0.7612, allocations: 100.2 kB / 0.7402 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000327/0.7615, allocations: 0.5941 MB / 0.7408 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003229/0.7618, allocations: 56.45 kB / 0.7408 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.241e-05/0.7619, allocations: 46.36 kB / 0.7409 GB, free: 173.4 MB / 0.5606 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.0002087/0.7621, allocations: 174.3 kB / 0.741 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.7622, allocations: 60.36 kB / 0.7411 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00154/0.7637, allocations: 1.098 MB / 0.7422 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.7637, allocations: 11.55 kB / 0.7422 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.7637, allocations: 3.656 kB / 0.7422 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.7637, allocations: 0 / 0.7422 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.7649, allocations: 0.9218 MB / 0.7431 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.7649, allocations: 4 kB / 0.7431 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/0.7651, allocations: 61.91 kB / 0.7431 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002896/0.768, allocations: 441 kB / 0.7436 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.57e-05/0.768, allocations: 8 kB / 0.7436 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002761/0.7683, allocations: 0.607 MB / 0.7442 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.7683, allocations: 7.406 kB / 0.7442 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006372/0.7689, allocations: 0.5002 MB / 0.7447 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.769, allocations: 64.38 kB / 0.7447 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.85e-05/0.7691, allocations: 13.64 kB / 0.7447 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003213/0.7694, allocations: 15.98 kB / 0.7448 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.362e-05/0.7695, allocations: 31.89 kB / 0.7448 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.863e-05/0.7695, allocations: 21.05 kB / 0.7448 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003615/0.7698, allocations: 406.8 kB / 0.7452 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.7698, allocations: 0 / 0.7452 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007914/0.7706, allocations: 340.9 kB / 0.7455 GB, free: 169.6 MB / 0.5606 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.001422/0.7721, allocations: 1.377 MB / 0.7469 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007172/0.7728, allocations: 360.3 kB / 0.7472 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.7728, allocations: 0 / 0.7472 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000294/0.7731, allocations: 164.1 kB / 0.7474 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/0.7746, allocations: 370.5 kB / 0.7477 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005051/0.7797, allocations: 4.859 MB / 0.7525 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001753/0.7799, allocations: 259.6 kB / 0.7527 GB, free: 162 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009063/0.7808, allocations: 0.5626 MB / 0.7533 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00032/0.7811, allocations: 223.3 kB / 0.7535 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.523e-06/0.7811, allocations: 0 / 0.7535 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0479/0.829, allocations: 25.54 MB / 0.7784 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.47, allocations: 11.55 kB / 0.7784 GB, free: 136.1 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/CurvedBend/CurvedBend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 17.55710365390405]