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.001075/0.001075, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001283/0.001283, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2296/0.2296, allocations: 46.11 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 75.88 kB / 481.3 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3964, allocations: 62.44 MB / 0.531 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.2447/0.6412, allocations: 186 MB / 0.7126 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006456/0.6477, allocations: 3.655 MB / 0.7162 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006803/0.6484, allocations: 19.88 kB / 0.7162 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000915/0.6493, allocations: 325.8 kB / 0.7165 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003991/0.6534, allocations: 1.721 MB / 0.7182 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001785/0.6552, allocations: 0.7119 MB / 0.7189 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.3696/1.025, allocations: 1.518 MB / 0.7204 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008601/1.026, allocations: 425 kB / 0.7208 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001249/1.027, allocations: 0.5813 MB / 0.7213 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006677/1.028, allocations: 451.2 kB / 0.7218 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001229/1.028, allocations: 51.44 kB / 0.7218 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003661/1.031, allocations: 1.929 MB / 0.7237 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001967/1.032, allocations: 155 kB / 0.7239 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004784/1.032, allocations: 346 kB / 0.7242 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003491/1.036, allocations: 1.826 MB / 0.726 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.036, allocations: 1.125 kB / 0.726 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.414e-06/1.036, allocations: 0 / 0.726 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.826e-05/1.036, allocations: 0.75 kB / 0.726 GB, free: 3.465 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.002244/1.038, allocations: 1.112 MB / 0.7271 GB, free: 18.8 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/1.038, allocations: 11.36 kB / 0.7271 GB, free: 18.8 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/1.039, allocations: 138.5 kB / 0.7272 GB, free: 18.77 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000827/1.04, allocations: 489.7 kB / 0.7277 GB, free: 18.51 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.882e-05/1.04, allocations: 33.59 kB / 0.7277 GB, free: 18.51 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-05/1.04, allocations: 40.72 kB / 0.7277 GB, free: 18.51 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/1.041, allocations: 0.5851 MB / 0.7283 GB, free: 18.39 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/1.041, allocations: 5.672 kB / 0.7283 GB, free: 18.39 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.678e-05/1.041, allocations: 24.14 kB / 0.7283 GB, free: 18.39 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/1.041, allocations: 11.44 kB / 0.7284 GB, free: 18.39 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008235/1.042, allocations: 476.7 kB / 0.7288 GB, free: 18.38 MB / 0.5763 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.002693/1.045, allocations: 2.643 MB / 0.7314 GB, free: 16.61 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006783/1.045, allocations: 353.3 kB / 0.7317 GB, free: 16.57 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002964/1.046, allocations: 168.2 kB / 0.7319 GB, free: 16.57 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003815/1.046, allocations: 440.9 kB / 0.7323 GB, free: 16.09 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/1.046, allocations: 38.69 kB / 0.7323 GB, free: 16.05 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=33): time 2.124e-06/1.046, allocations: 0 / 0.7323 GB, free: 16.05 MB / 0.5763 GB Notification: Performance of matching and sorting (n=33): time 0.001672/1.048, allocations: 0.7093 MB / 0.733 GB, free: 15.89 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.148e-05/1.048, allocations: 140.6 kB / 0.7332 GB, free: 15.73 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004439/1.048, allocations: 468.9 kB / 0.7336 GB, free: 15.61 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 4.81e-05/1.048, allocations: 32.31 kB / 0.7336 GB, free: 15.58 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/1.049, allocations: 279.3 kB / 0.7339 GB, free: 15.44 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 7.563e-05/1.049, allocations: 121.9 kB / 0.734 GB, free: 15.36 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/1.049, allocations: 104.9 kB / 0.7341 GB, free: 15.34 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001324/1.049, allocations: 359.8 kB / 0.7345 GB, free: 15.03 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/1.049, allocations: 150.2 kB / 0.7346 GB, free: 15.03 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/1.05, allocations: 279 kB / 0.7349 GB, free: 14.88 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006354/1.05, allocations: 437.8 kB / 0.7353 GB, free: 14.76 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.05, allocations: 0.8438 kB / 0.7353 GB, free: 14.76 MB / 0.5763 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008965/1.051, allocations: 0.5441 MB / 0.7358 GB, free: 14.68 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/1.051, allocations: 6.844 kB / 0.7358 GB, free: 14.68 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/1.051, allocations: 5.219 kB / 0.7358 GB, free: 14.68 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001417/1.053, allocations: 233.1 kB / 0.7361 GB, free: 14.68 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003257/1.053, allocations: 113.8 kB / 0.7362 GB, free: 14.67 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004045/1.053, allocations: 0.5935 MB / 0.7368 GB, free: 14.15 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003801/1.054, allocations: 51.91 kB / 0.7368 GB, free: 14.12 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.339e-05/1.054, allocations: 48.02 kB / 0.7368 GB, free: 14.12 MB / 0.5763 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.0002223/1.054, allocations: 178.8 kB / 0.737 GB, free: 14.01 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/1.054, allocations: 53.77 kB / 0.7371 GB, free: 13.98 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001711/1.056, allocations: 1.078 MB / 0.7381 GB, free: 13.84 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/1.056, allocations: 7.594 kB / 0.7381 GB, free: 13.83 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/1.056, allocations: 1.203 kB / 0.7381 GB, free: 13.83 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-06/1.056, allocations: 3.688 kB / 0.7381 GB, free: 13.83 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/1.057, allocations: 1.009 MB / 0.7391 GB, free: 13.46 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/1.057, allocations: 1 kB / 0.7391 GB, free: 13.46 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/1.057, allocations: 58.81 kB / 0.7392 GB, free: 13.45 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002883/1.06, allocations: 434 kB / 0.7396 GB, free: 13.45 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/1.06, allocations: 8.688 kB / 0.7396 GB, free: 13.45 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004042/1.061, allocations: 0.6024 MB / 0.7402 GB, free: 12.93 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.061, allocations: 7 kB / 0.7402 GB, free: 12.92 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007394/1.062, allocations: 0.5022 MB / 0.7407 GB, free: 12.71 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001672/1.062, allocations: 139.3 kB / 0.7408 GB, free: 12.59 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.781e-05/1.062, allocations: 13.17 kB / 0.7408 GB, free: 12.58 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000318/1.062, allocations: 15.42 kB / 0.7408 GB, free: 12.58 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.619e-05/1.062, allocations: 32.11 kB / 0.7409 GB, free: 12.58 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.074e-05/1.062, allocations: 16.2 kB / 0.7409 GB, free: 12.58 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0004278/1.063, allocations: 396.8 kB / 0.7413 GB, free: 12.5 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.7e-07/1.063, allocations: 0.8438 kB / 0.7413 GB, free: 12.5 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.001044/1.064, allocations: 350.7 kB / 0.7416 GB, free: 12.43 MB / 0.5763 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.0009983/1.065, allocations: 452.4 kB / 0.742 GB, free: 12.27 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0007759/1.066, allocations: 371.3 kB / 0.7424 GB, free: 12.27 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/1.066, allocations: 2.094 kB / 0.7424 GB, free: 12.27 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0003183/1.066, allocations: 163.1 kB / 0.7425 GB, free: 12.27 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/1.067, allocations: 380.1 kB / 0.7429 GB, free: 12.21 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/1.069, allocations: 0.8949 MB / 0.7438 GB, free: 11.78 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/1.069, allocations: 0.8591 MB / 0.7446 GB, free: 11.08 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.0009196/1.07, allocations: 0.5462 MB / 0.7452 GB, free: 11.03 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/1.07, allocations: 85.17 kB / 0.7452 GB, free: 11.02 MB / 0.5763 GB Notification: Performance of SimCode: time 3.41e-07/1.07, allocations: 0.8125 kB / 0.7452 GB, free: 11.02 MB / 0.5763 GB Notification: Performance of Templates: time 0.02649/1.097, allocations: 17.6 MB / 0.7624 GB, free: 8.516 MB / 0.5763 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins/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