Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001358/0.001358, allocations: 117.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001637/0.001637, allocations: 204.6 kB / 18.74 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2077/0.2077, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 75.86 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3554, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.2035/0.559, allocations: 186 MB / 0.7121 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006184/0.5652, allocations: 3.655 MB / 0.7157 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007888/0.566, allocations: 15.88 kB / 0.7157 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.5671, allocations: 325.8 kB / 0.716 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00446/0.5716, allocations: 1.716 MB / 0.7177 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.5734, allocations: 0.7213 MB / 0.7184 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.3197/0.8932, allocations: 1.513 MB / 0.7199 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008879/0.8941, allocations: 422.5 kB / 0.7203 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00134/0.8955, allocations: 0.5915 MB / 0.7209 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007846/0.8963, allocations: 452.3 kB / 0.7213 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.8964, allocations: 52.38 kB / 0.7213 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003444/0.8999, allocations: 1.926 MB / 0.7232 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002261/0.9001, allocations: 157.8 kB / 0.7234 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005391/0.9007, allocations: 343.1 kB / 0.7237 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003592/0.9043, allocations: 1.819 MB / 0.7255 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.325e-06/0.9043, allocations: 1.219 kB / 0.7255 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.325e-06/0.9043, allocations: 1.859 kB / 0.7255 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.044e-05/0.9044, allocations: 0 / 0.7255 GB, free: 3.586 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.002526/0.9069, allocations: 1.085 MB / 0.7265 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.907, allocations: 12.5 kB / 0.7266 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003472/0.9073, allocations: 83.28 kB / 0.7266 GB, free: 18.93 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.9085, allocations: 144.8 kB / 0.7268 GB, free: 18.89 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.9096, allocations: 480.3 kB / 0.7272 GB, free: 18.63 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.236e-05/0.9096, allocations: 34.09 kB / 0.7273 GB, free: 18.63 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.487e-05/0.9097, allocations: 38.41 kB / 0.7273 GB, free: 18.63 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.911, allocations: 0.5941 MB / 0.7279 GB, free: 18.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.911, allocations: 2.781 kB / 0.7279 GB, free: 18.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.504e-05/0.9111, allocations: 17.91 kB / 0.7279 GB, free: 18.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.9111, allocations: 13.22 kB / 0.7279 GB, free: 18.52 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008614/0.912, allocations: 472.2 kB / 0.7284 GB, free: 18.51 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.003041/0.9151, allocations: 2.642 MB / 0.7309 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007114/0.9158, allocations: 353.8 kB / 0.7313 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/0.9161, allocations: 169.2 kB / 0.7314 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004746/0.9166, allocations: 434.8 kB / 0.7319 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.9166, allocations: 41.09 kB / 0.7319 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.854e-06/0.9166, allocations: 0 / 0.7319 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001674/0.9183, allocations: 0.7118 MB / 0.7326 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.368e-05/0.9184, allocations: 137.3 kB / 0.7327 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004863/0.9189, allocations: 462.7 kB / 0.7332 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.073e-05/0.919, allocations: 33.55 kB / 0.7332 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.9192, allocations: 282.5 kB / 0.7335 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.187e-05/0.9193, allocations: 116.5 kB / 0.7336 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.9194, allocations: 104 kB / 0.7337 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.9196, allocations: 364.7 kB / 0.734 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002822/0.9199, allocations: 150.9 kB / 0.7342 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003541/0.9203, allocations: 276 kB / 0.7344 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006235/0.9209, allocations: 436.5 kB / 0.7348 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.9209, allocations: 0 / 0.7348 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001026/0.9219, allocations: 0.5377 MB / 0.7354 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.922, allocations: 7.156 kB / 0.7354 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.922, allocations: 2.125 kB / 0.7354 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001554/0.9236, allocations: 233.2 kB / 0.7356 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003596/0.9239, allocations: 108.6 kB / 0.7357 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004675/0.9244, allocations: 0.5976 MB / 0.7363 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004262/0.9248, allocations: 43.8 kB / 0.7363 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.209e-05/0.9249, allocations: 49.58 kB / 0.7364 GB, free: 14.28 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.0003202/0.9253, allocations: 178.4 kB / 0.7366 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.9254, allocations: 55.16 kB / 0.7366 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/0.9271, allocations: 1.086 MB / 0.7377 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.9271, allocations: 2.156 kB / 0.7377 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.9271, allocations: 0.8125 kB / 0.7377 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.9271, allocations: 6.406 kB / 0.7377 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.9284, allocations: 1.007 MB / 0.7387 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.9285, allocations: 0 / 0.7387 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.9287, allocations: 56.86 kB / 0.7387 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00321/0.9319, allocations: 433.5 kB / 0.7391 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.738e-05/0.9319, allocations: 11.16 kB / 0.7391 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004331/0.9324, allocations: 0.6022 MB / 0.7397 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.9324, allocations: 7.094 kB / 0.7397 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007651/0.9332, allocations: 0.5043 MB / 0.7402 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/0.9334, allocations: 133 kB / 0.7403 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.9335, allocations: 12.94 kB / 0.7404 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003378/0.9338, allocations: 15.38 kB / 0.7404 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.726e-05/0.9339, allocations: 29.91 kB / 0.7404 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.9339, allocations: 19.25 kB / 0.7404 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004372/0.9344, allocations: 399.1 kB / 0.7408 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9344, allocations: 0.9375 kB / 0.7408 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001085/0.9355, allocations: 338.5 kB / 0.7411 GB, free: 12.6 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.001938/0.9374, allocations: 1.393 MB / 0.7425 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008097/0.9382, allocations: 379.5 kB / 0.7428 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.9383, allocations: 1.031 kB / 0.7429 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003047/0.9386, allocations: 163.5 kB / 0.743 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/0.9402, allocations: 365.2 kB / 0.7434 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0058/0.946, allocations: 4.792 MB / 0.748 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.9464, allocations: 0.8597 MB / 0.7489 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009787/0.9474, allocations: 0.5514 MB / 0.7494 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003223/0.9477, allocations: 225.3 kB / 0.7496 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of SimCode: time 8.41e-07/0.9477, allocations: 4.469 kB / 0.7496 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04798/0.9957, allocations: 23.38 MB / 0.7725 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/13.43, allocations: 10.38 kB / 0.7725 GB, free: 3.258 MB / 0.5762 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches