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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 117.6 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 190.9 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.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.2164/0.2164, allocations: 44.91 MB / 349.6 MB, free: 1.707 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 64.36 kB / 491.8 MB, free: 30.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.121, allocations: 64.27 MB / 0.543 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.5019/0.6229, allocations: 183.6 MB / 0.7224 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005873/0.6287, allocations: 3.615 MB / 0.7259 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004811/0.6292, allocations: 23.88 kB / 0.7259 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008521/0.6301, allocations: 329.8 kB / 0.7262 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003916/0.634, allocations: 1.728 MB / 0.7279 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001765/0.6358, allocations: 0.7106 MB / 0.7286 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001884/0.6376, allocations: 1.528 MB / 0.7301 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005315/0.6382, allocations: 371.5 kB / 0.7305 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008468/0.639, allocations: 0.5916 MB / 0.731 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005839/0.6396, allocations: 478.1 kB / 0.7315 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.176e-05/0.6397, allocations: 52 kB / 0.7315 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003145/0.6428, allocations: 1.907 MB / 0.7334 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001891/0.643, allocations: 155.4 kB / 0.7336 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003658/0.6434, allocations: 350.4 kB / 0.7339 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002412/0.6458, allocations: 1.803 MB / 0.7356 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.6458, allocations: 4 kB / 0.7357 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6458, allocations: 0 / 0.7357 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.6458, allocations: 4 kB / 0.7357 GB, free: 9.324 MB / 0.5294 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.001871/0.6477, allocations: 1.101 MB / 0.7367 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.6477, allocations: 8.031 kB / 0.7367 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000108/0.6478, allocations: 82.53 kB / 0.7368 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009691/0.6488, allocations: 139.5 kB / 0.737 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008368/0.6496, allocations: 488.8 kB / 0.7374 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/0.6497, allocations: 33 kB / 0.7374 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.747e-05/0.6497, allocations: 47.88 kB / 0.7375 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.6508, allocations: 0.5867 MB / 0.7381 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.6508, allocations: 4 kB / 0.7381 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.772e-05/0.6509, allocations: 23.94 kB / 0.7381 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.6509, allocations: 12 kB / 0.7381 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000925/0.6518, allocations: 471.6 kB / 0.7386 GB, free: 6.215 MB / 0.5294 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.003214/0.655, allocations: 2.651 MB / 0.7411 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007228/0.6558, allocations: 315.6 kB / 0.7414 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003001/0.6561, allocations: 157.3 kB / 0.7416 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004317/0.6565, allocations: 433.8 kB / 0.742 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/0.6565, allocations: 46.78 kB / 0.7421 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 1.643e-06/0.6565, allocations: 0 / 0.7421 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.00169/0.6582, allocations: 0.7073 MB / 0.7427 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.413e-05/0.6583, allocations: 136.5 kB / 0.7429 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005564/0.6589, allocations: 477.9 kB / 0.7433 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.561e-05/0.6589, allocations: 29.7 kB / 0.7434 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.6591, allocations: 276.3 kB / 0.7436 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.6593, allocations: 126.9 kB / 0.7437 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001606/0.6594, allocations: 106.1 kB / 0.7438 GB, free: 392 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.6596, allocations: 354.8 kB / 0.7442 GB, free: 28 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003256/0.6599, allocations: 152.8 kB / 0.7443 GB, free: 15.88 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004285/0.6603, allocations: 275.7 kB / 0.7446 GB, free: 15.55 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007345/0.6611, allocations: 437.6 kB / 0.745 GB, free: 15.07 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.6611, allocations: 0 / 0.745 GB, free: 15.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001021/0.6621, allocations: 0.541 MB / 0.7455 GB, free: 14.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.6621, allocations: 11.94 kB / 0.7455 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.6621, allocations: 4 kB / 0.7456 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001525/0.6637, allocations: 240.4 kB / 0.7458 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003692/0.664, allocations: 103.9 kB / 0.7459 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000508/0.6645, allocations: 0.5836 MB / 0.7464 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/0.6648, allocations: 59.67 kB / 0.7465 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.592e-05/0.6649, allocations: 43.98 kB / 0.7465 GB, free: 13.46 MB / 0.545 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.0002438/0.6652, allocations: 181.7 kB / 0.7467 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.6653, allocations: 54.8 kB / 0.7468 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001982/0.6673, allocations: 1.084 MB / 0.7478 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.6673, allocations: 4 kB / 0.7478 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.6673, allocations: 0 / 0.7478 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.6673, allocations: 0 / 0.7478 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/0.6688, allocations: 1.011 MB / 0.7488 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.6688, allocations: 4 kB / 0.7488 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.669, allocations: 55.91 kB / 0.7489 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003102/0.6721, allocations: 433.4 kB / 0.7493 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/0.6721, allocations: 11.98 kB / 0.7493 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004791/0.6726, allocations: 0.6031 MB / 0.7499 GB, free: 9.898 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.6726, allocations: 4.656 kB / 0.7499 GB, free: 9.895 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008161/0.6734, allocations: 0.5052 MB / 0.7504 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.6736, allocations: 136.6 kB / 0.7505 GB, free: 9.203 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.826e-05/0.6736, allocations: 11.95 kB / 0.7505 GB, free: 9.191 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003043/0.6739, allocations: 19.98 kB / 0.7506 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.017e-05/0.674, allocations: 27.91 kB / 0.7506 GB, free: 9.145 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-05/0.6741, allocations: 23.98 kB / 0.7506 GB, free: 9.121 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000502/0.6746, allocations: 402.8 kB / 0.751 GB, free: 8.73 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6746, allocations: 0 / 0.751 GB, free: 8.73 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009107/0.6755, allocations: 339 kB / 0.7513 GB, free: 8.398 MB / 0.545 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.002097/0.6776, allocations: 1.37 MB / 0.7526 GB, free: 6.988 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008439/0.6784, allocations: 363.9 kB / 0.753 GB, free: 6.633 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.6784, allocations: 7.906 kB / 0.753 GB, free: 6.625 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003563/0.6788, allocations: 157.9 kB / 0.7532 GB, free: 6.473 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/0.6804, allocations: 360.8 kB / 0.7535 GB, free: 6.129 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006826/0.6872, allocations: 4.812 MB / 0.7582 GB, free: 1.117 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000537/0.6877, allocations: 0.8596 MB / 0.759 GB, free: 236 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001106/0.6888, allocations: 0.5593 MB / 0.7596 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003808/0.6892, allocations: 227.3 kB / 0.7598 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of SimCode: time 1.062e-06/0.6892, allocations: 0 / 0.7598 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05708/0.7463, allocations: 23.02 MB / 0.7823 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/13.78, allocations: 18.02 kB / 0.7823 GB, free: 8.629 MB / 0.5762 GB " [Timeout remaining time 646] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 16.914085287135094]