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.001807/0.001807, allocations: 114.3 kB / 18.45 MB, free: 4.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002084/0.002084, allocations: 204 kB / 19.41 MB, free: 3.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2262/0.2262, allocations: 46.12 MB / 345 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 67.88 kB / 482.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3199, allocations: 62.44 MB / 0.5318 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.2136/0.5334, allocations: 186.4 MB / 0.7138 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006594/0.54, allocations: 3.674 MB / 0.7174 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007564/0.5408, allocations: 15.88 kB / 0.7174 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.5419, allocations: 329.9 kB / 0.7178 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004828/0.5467, allocations: 1.738 MB / 0.7195 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001974/0.5487, allocations: 0.7158 MB / 0.7202 GB, free: 56 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.3273/0.876, allocations: 1.517 MB / 0.7216 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008384/0.8768, allocations: 369.8 kB / 0.722 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001317/0.8782, allocations: 0.5965 MB / 0.7226 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006763/0.8788, allocations: 451.9 kB / 0.723 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.879, allocations: 51.34 kB / 0.723 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004554/0.8835, allocations: 1.926 MB / 0.7249 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002564/0.8838, allocations: 164.2 kB / 0.7251 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005401/0.8843, allocations: 343.7 kB / 0.7254 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003439/0.8877, allocations: 1.821 MB / 0.7272 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.8877, allocations: 0 / 0.7272 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8877, allocations: 1.5 kB / 0.7272 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.8878, allocations: 0 / 0.7272 GB, free: 3.543 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.002147/0.8899, allocations: 1.117 MB / 0.7283 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.89, allocations: 11.64 kB / 0.7283 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.891, allocations: 143.6 kB / 0.7284 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.8921, allocations: 485.8 kB / 0.7289 GB, free: 18.59 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/0.8921, allocations: 33.25 kB / 0.7289 GB, free: 18.59 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.451e-05/0.8922, allocations: 39 kB / 0.729 GB, free: 18.59 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.8932, allocations: 0.587 MB / 0.7295 GB, free: 18.47 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.8933, allocations: 1.75 kB / 0.7295 GB, free: 18.47 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-05/0.8933, allocations: 19.97 kB / 0.7296 GB, free: 18.47 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.8933, allocations: 13.52 kB / 0.7296 GB, free: 18.47 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008139/0.8941, allocations: 475.1 kB / 0.73 GB, free: 18.46 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.003031/0.8972, allocations: 2.65 MB / 0.7326 GB, free: 16.69 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006592/0.8978, allocations: 332 kB / 0.7329 GB, free: 16.66 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000277/0.8981, allocations: 154.2 kB / 0.7331 GB, free: 16.65 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004925/0.8986, allocations: 437.4 kB / 0.7335 GB, free: 16.18 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.8987, allocations: 37.66 kB / 0.7335 GB, free: 16.14 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=33): time 2.414e-06/0.8987, allocations: 1.094 kB / 0.7335 GB, free: 16.14 MB / 0.5763 GB Notification: Performance of matching and sorting (n=33): time 0.001757/0.9004, allocations: 0.7155 MB / 0.7342 GB, free: 15.97 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.9005, allocations: 132.5 kB / 0.7344 GB, free: 15.82 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005257/0.901, allocations: 472.6 kB / 0.7348 GB, free: 15.7 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 5.93e-05/0.9011, allocations: 36.33 kB / 0.7348 GB, free: 15.66 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.9013, allocations: 272.6 kB / 0.7351 GB, free: 15.52 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 9.43e-05/0.9014, allocations: 125.1 kB / 0.7352 GB, free: 15.44 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.9015, allocations: 100.9 kB / 0.7353 GB, free: 15.43 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.000211/0.9018, allocations: 357.5 kB / 0.7357 GB, free: 15.11 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002929/0.902, allocations: 146.7 kB / 0.7358 GB, free: 15.11 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003608/0.9024, allocations: 284 kB / 0.7361 GB, free: 14.97 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006541/0.9031, allocations: 435.2 kB / 0.7365 GB, free: 14.84 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.9031, allocations: 3.547 kB / 0.7365 GB, free: 14.84 MB / 0.5763 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009419/0.904, allocations: 0.5401 MB / 0.737 GB, free: 14.77 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.904, allocations: 7.969 kB / 0.737 GB, free: 14.77 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.904, allocations: 2.844 kB / 0.737 GB, free: 14.77 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001566/0.9056, allocations: 241.2 kB / 0.7373 GB, free: 14.76 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003601/0.906, allocations: 103.5 kB / 0.7374 GB, free: 14.76 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005228/0.9065, allocations: 0.5918 MB / 0.7379 GB, free: 14.24 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004156/0.9069, allocations: 53.36 kB / 0.738 GB, free: 14.21 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.86e-05/0.907, allocations: 44.91 kB / 0.738 GB, free: 14.21 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.0002938/0.9073, allocations: 181 kB / 0.7382 GB, free: 14.1 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.9074, allocations: 54.83 kB / 0.7382 GB, free: 14.07 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001905/0.9093, allocations: 1.088 MB / 0.7393 GB, free: 13.92 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.9093, allocations: 6.219 kB / 0.7393 GB, free: 13.92 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.9093, allocations: 3 kB / 0.7393 GB, free: 13.92 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.9093, allocations: 0.9062 kB / 0.7393 GB, free: 13.92 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.9109, allocations: 1.007 MB / 0.7403 GB, free: 13.54 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.952e-06/0.9109, allocations: 6.297 kB / 0.7403 GB, free: 13.54 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.9112, allocations: 52.11 kB / 0.7404 GB, free: 13.54 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00313/0.9143, allocations: 437.6 kB / 0.7408 GB, free: 13.53 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.9143, allocations: 9.531 kB / 0.7408 GB, free: 13.53 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004775/0.9148, allocations: 0.6037 MB / 0.7414 GB, free: 13.01 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.9148, allocations: 7.969 kB / 0.7414 GB, free: 13 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007597/0.9156, allocations: 0.5025 MB / 0.7419 GB, free: 12.79 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001837/0.9157, allocations: 136.7 kB / 0.742 GB, free: 12.67 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-05/0.9158, allocations: 12.59 kB / 0.742 GB, free: 12.66 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003341/0.9162, allocations: 18.58 kB / 0.742 GB, free: 12.66 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.753e-05/0.9162, allocations: 30.59 kB / 0.7421 GB, free: 12.66 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/0.9163, allocations: 13.56 kB / 0.7421 GB, free: 12.66 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.00048/0.9167, allocations: 403.2 kB / 0.7425 GB, free: 12.58 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9168, allocations: 3.094 kB / 0.7425 GB, free: 12.58 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.001253/0.918, allocations: 347.5 kB / 0.7428 GB, free: 12.51 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.001094/0.9191, allocations: 452.1 kB / 0.7432 GB, free: 12.36 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.000893/0.92, allocations: 352.3 kB / 0.7436 GB, free: 12.36 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.92, allocations: 0.7812 kB / 0.7436 GB, free: 12.36 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0003167/0.9203, allocations: 158.2 kB / 0.7437 GB, free: 12.36 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/0.9219, allocations: 362.3 kB / 0.7441 GB, free: 12.31 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.9233, allocations: 0.8952 MB / 0.7449 GB, free: 11.87 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004773/0.9238, allocations: 0.8553 MB / 0.7458 GB, free: 11.17 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.0009581/0.9247, allocations: 0.5593 MB / 0.7463 GB, free: 11.11 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002243/0.925, allocations: 85.72 kB / 0.7464 GB, free: 11.11 MB / 0.5763 GB Notification: Performance of SimCode: time 8.72e-07/0.925, allocations: 0.8438 kB / 0.7464 GB, free: 11.11 MB / 0.5763 GB Notification: Performance of Templates: time 0.02777/0.9527, allocations: 17.67 MB / 0.7636 GB, free: 8.473 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 -s gbode -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