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: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001116/0.001116, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001691/0.001692, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 247.6 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.2067/0.2067, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 75.86 kB / 482 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3199, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.1908/0.5107, allocations: 186 MB / 0.7133 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006146/0.5169, allocations: 3.662 MB / 0.7168 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006037/0.5176, allocations: 15.88 kB / 0.7169 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.5186, allocations: 321.8 kB / 0.7172 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004334/0.523, allocations: 1.723 MB / 0.7189 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001809/0.5248, allocations: 0.7119 MB / 0.7195 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.2824/0.8072, allocations: 1.52 MB / 0.721 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007212/0.808, allocations: 421 kB / 0.7214 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009901/0.809, allocations: 0.5895 MB / 0.722 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005748/0.8096, allocations: 456.3 kB / 0.7224 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.8097, allocations: 50.62 kB / 0.7225 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003184/0.8129, allocations: 1.923 MB / 0.7244 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.8131, allocations: 160 kB / 0.7245 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003845/0.8134, allocations: 340.2 kB / 0.7248 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002448/0.8159, allocations: 1.827 MB / 0.7266 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.8159, allocations: 0 / 0.7266 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.363e-06/0.8159, allocations: 1.094 kB / 0.7266 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.8159, allocations: 0.8125 kB / 0.7266 GB, free: 3.535 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.001803/0.8177, allocations: 1.08 MB / 0.7277 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.8178, allocations: 10.33 kB / 0.7277 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.8188, allocations: 136.8 kB / 0.7278 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008106/0.8197, allocations: 488.1 kB / 0.7283 GB, free: 18.63 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/0.8197, allocations: 29.53 kB / 0.7283 GB, free: 18.63 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.912e-05/0.8198, allocations: 47.08 kB / 0.7284 GB, free: 18.63 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009589/0.8207, allocations: 0.5826 MB / 0.7289 GB, free: 18.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.8208, allocations: 7.094 kB / 0.7289 GB, free: 18.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.829e-05/0.8208, allocations: 19.16 kB / 0.729 GB, free: 18.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.8208, allocations: 10.25 kB / 0.729 GB, free: 18.52 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007937/0.8216, allocations: 475.7 kB / 0.7294 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.002543/0.8242, allocations: 2.647 MB / 0.732 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006482/0.8249, allocations: 348.1 kB / 0.7323 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002635/0.8251, allocations: 172 kB / 0.7325 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000384/0.8255, allocations: 440.1 kB / 0.7329 GB, free: 16.22 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.8256, allocations: 38.12 kB / 0.733 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.803e-06/0.8256, allocations: 1.031 kB / 0.733 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001647/0.8272, allocations: 0.7109 MB / 0.7337 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.141e-05/0.8273, allocations: 134.8 kB / 0.7338 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004416/0.8278, allocations: 460.4 kB / 0.7342 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.053e-05/0.8278, allocations: 31.8 kB / 0.7343 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.828, allocations: 282.4 kB / 0.7345 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.194e-05/0.8281, allocations: 115.3 kB / 0.7346 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.8282, allocations: 104.5 kB / 0.7347 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.8284, allocations: 361.5 kB / 0.7351 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002854/0.8287, allocations: 146.4 kB / 0.7352 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003432/0.829, allocations: 279.9 kB / 0.7355 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006328/0.8297, allocations: 436.9 kB / 0.7359 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.227e-06/0.8297, allocations: 7.031 kB / 0.7359 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009578/0.8307, allocations: 0.5394 MB / 0.7364 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.8307, allocations: 4.812 kB / 0.7364 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.8307, allocations: 6.125 kB / 0.7364 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001558/0.8323, allocations: 230.7 kB / 0.7367 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000353/0.8326, allocations: 108.7 kB / 0.7368 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004293/0.8331, allocations: 0.5952 MB / 0.7374 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003917/0.8335, allocations: 51.77 kB / 0.7374 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.958e-05/0.8335, allocations: 43.69 kB / 0.7374 GB, free: 14.27 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.0002814/0.8338, allocations: 174.8 kB / 0.7376 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.834, allocations: 57.25 kB / 0.7377 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001659/0.8356, allocations: 1.081 MB / 0.7387 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.8356, allocations: 7.656 kB / 0.7387 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-06/0.8357, allocations: 0 / 0.7387 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.8357, allocations: 4.797 kB / 0.7387 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/0.837, allocations: 1.007 MB / 0.7397 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.837, allocations: 8.094 kB / 0.7397 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.8372, allocations: 49.31 kB / 0.7398 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003191/0.8404, allocations: 435.5 kB / 0.7402 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.231e-05/0.8405, allocations: 12.69 kB / 0.7402 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004127/0.8409, allocations: 0.6004 MB / 0.7408 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.8409, allocations: 6.719 kB / 0.7408 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007967/0.8417, allocations: 0.5043 MB / 0.7413 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.8419, allocations: 135.9 kB / 0.7414 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.842, allocations: 11.34 kB / 0.7414 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003458/0.8424, allocations: 18.09 kB / 0.7414 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.236e-05/0.8425, allocations: 33.27 kB / 0.7415 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.8425, allocations: 16.66 kB / 0.7415 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004426/0.8429, allocations: 400.5 kB / 0.7419 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8429, allocations: 3.562 kB / 0.7419 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001094/0.844, allocations: 340.9 kB / 0.7422 GB, free: 12.58 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.001/0.8451, allocations: 444.8 kB / 0.7426 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008287/0.8459, allocations: 373.8 kB / 0.743 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.8459, allocations: 3.375 kB / 0.743 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003512/0.8463, allocations: 167.7 kB / 0.7431 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/0.848, allocations: 363.5 kB / 0.7435 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.8493, allocations: 0.9125 MB / 0.7444 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.8497, allocations: 0.8531 MB / 0.7452 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003483/0.85, allocations: 126.9 kB / 0.7453 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of SimCode: time 9.02e-07/0.85, allocations: 0.9062 kB / 0.7453 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of Templates: time 0.01918/0.8692, allocations: 15.43 MB / 0.7604 GB, free: 9.688 MB / 0.5762 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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