Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002343/0.002348, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.029/2.029, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001257/0.001256, allocations: 94.78 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3096/0.3096, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006586/0.0006586, allocations: 8 kB / 431.4 MB, free: 20.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1205, allocations: 58.86 MB / 490.2 MB, free: 9.328 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.5622/0.6828, allocations: 147 MB / 0.6223 GB, free: 7.754 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01488/0.6977, allocations: 7.088 MB / 0.6292 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007314/0.6985, allocations: 19.81 kB / 0.6292 GB, free: 0.6367 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001272/0.6998, allocations: 258.7 kB / 0.6295 GB, free: 392 kB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005766/0.7056, allocations: 1.323 MB / 0.6308 GB, free: 15.06 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003415/0.7091, allocations: 0.8382 MB / 0.6316 GB, free: 14.22 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002293/0.7114, allocations: 0.895 MB / 0.6325 GB, free: 13.32 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008402/0.7123, allocations: 353.5 kB / 0.6328 GB, free: 12.97 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001519/0.7138, allocations: 498.5 kB / 0.6333 GB, free: 12.48 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007083/0.7146, allocations: 338.7 kB / 0.6336 GB, free: 12.15 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001234/0.7147, allocations: 31.94 kB / 0.6336 GB, free: 12.12 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005154/0.7199, allocations: 1.868 MB / 0.6355 GB, free: 10.25 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000363/0.7203, allocations: 131.5 kB / 0.6356 GB, free: 10.12 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003264/0.7206, allocations: 141.5 kB / 0.6357 GB, free: 9.973 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003264/0.7239, allocations: 1.206 MB / 0.6369 GB, free: 8.766 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.724, allocations: 4 kB / 0.6369 GB, free: 8.762 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.724, allocations: 4 kB / 0.6369 GB, free: 8.758 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.724, allocations: 0 / 0.6369 GB, free: 8.758 MB / 442.7 MB 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.002779/0.7268, allocations: 0.9586 MB / 0.6378 GB, free: 7.746 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.7269, allocations: 12.03 kB / 0.6378 GB, free: 7.734 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001488/0.7284, allocations: 147.1 kB / 0.638 GB, free: 7.59 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.7295, allocations: 444.9 kB / 0.6384 GB, free: 7.117 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.96e-05/0.7296, allocations: 36.94 kB / 0.6384 GB, free: 7.078 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.7297, allocations: 40 kB / 0.6385 GB, free: 7.039 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.7315, allocations: 0.5906 MB / 0.6391 GB, free: 6.41 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.7316, allocations: 0 / 0.6391 GB, free: 6.41 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.61e-05/0.7317, allocations: 16 kB / 0.6391 GB, free: 6.395 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.349e-05/0.7317, allocations: 15.95 kB / 0.6391 GB, free: 6.379 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/0.7333, allocations: 479.6 kB / 0.6396 GB, free: 5.91 MB / 442.7 MB 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.004718/0.7381, allocations: 2.659 MB / 0.6421 GB, free: 3.031 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.7393, allocations: 350.1 kB / 0.6425 GB, free: 2.684 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005072/0.7398, allocations: 326 kB / 0.6428 GB, free: 2.309 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.7399, allocations: 34.84 kB / 0.6428 GB, free: 2.266 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 2.896e-06/0.7399, allocations: 0 / 0.6428 GB, free: 2.266 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.002769/0.7427, allocations: 0.7193 MB / 0.6435 GB, free: 1.52 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.7428, allocations: 136.5 kB / 0.6437 GB, free: 1.355 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009069/0.7438, allocations: 473.9 kB / 0.6441 GB, free: 0.8828 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.909e-05/0.7439, allocations: 33.7 kB / 0.6441 GB, free: 0.8438 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002585/0.7441, allocations: 306.3 kB / 0.6444 GB, free: 0.543 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.7443, allocations: 118.3 kB / 0.6445 GB, free: 436 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.7444, allocations: 8 kB / 0.6446 GB, free: 428 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.7445, allocations: 322.8 kB / 0.6449 GB, free: 96 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006045/0.7451, allocations: 156.8 kB / 0.645 GB, free: 15.94 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006398/0.7458, allocations: 279.7 kB / 0.6453 GB, free: 15.62 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006156/0.7464, allocations: 189 kB / 0.6455 GB, free: 15.43 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.7464, allocations: 0 / 0.6455 GB, free: 15.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001654/0.7481, allocations: 0.5099 MB / 0.646 GB, free: 14.91 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.7481, allocations: 8 kB / 0.646 GB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.7482, allocations: 7.938 kB / 0.646 GB, free: 14.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002782/0.751, allocations: 284.6 kB / 0.6462 GB, free: 14.62 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007327/0.7517, allocations: 111.8 kB / 0.6464 GB, free: 14.51 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006663/0.7524, allocations: 0.5913 MB / 0.6469 GB, free: 13.89 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007424/0.7532, allocations: 75.55 kB / 0.647 GB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/0.7533, allocations: 44 kB / 0.647 GB, free: 13.77 MB / 458.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003797/0.7537, allocations: 177.8 kB / 0.6472 GB, free: 13.59 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.7539, allocations: 59.36 kB / 0.6473 GB, free: 13.53 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002749/0.7566, allocations: 0.7278 MB / 0.648 GB, free: 12.78 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.948e-06/0.7567, allocations: 4 kB / 0.648 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.7567, allocations: 0 / 0.648 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.7567, allocations: 3.953 kB / 0.648 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002456/0.7592, allocations: 1.006 MB / 0.649 GB, free: 11.69 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.7593, allocations: 4 kB / 0.649 GB, free: 11.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004446/0.7597, allocations: 55.97 kB / 0.649 GB, free: 11.63 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00621/0.7659, allocations: 0.5393 MB / 0.6496 GB, free: 11.09 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.297e-05/0.7661, allocations: 15.98 kB / 0.6496 GB, free: 11.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006544/0.7667, allocations: 0.5915 MB / 0.6501 GB, free: 10.45 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.7668, allocations: 0 / 0.6501 GB, free: 10.45 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.7682, allocations: 0.5785 MB / 0.6507 GB, free: 9.809 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002877/0.7685, allocations: 156.3 kB / 0.6509 GB, free: 9.637 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/0.7687, allocations: 8 kB / 0.6509 GB, free: 9.629 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006748/0.7694, allocations: 35.97 kB / 0.6509 GB, free: 9.594 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.7695, allocations: 23.97 kB / 0.6509 GB, free: 9.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-05/0.7696, allocations: 11.98 kB / 0.6509 GB, free: 9.559 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007382/0.7703, allocations: 370.8 kB / 0.6513 GB, free: 9.199 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.264e-06/0.7703, allocations: 4 kB / 0.6513 GB, free: 9.195 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001523/0.7719, allocations: 383.5 kB / 0.6517 GB, free: 8.82 MB / 458.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001879/0.7738, allocations: 0.4977 MB / 0.6521 GB, free: 8.316 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001482/0.7753, allocations: 384 kB / 0.6525 GB, free: 7.941 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.7753, allocations: 0.875 kB / 0.6525 GB, free: 7.941 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006284/0.776, allocations: 168.1 kB / 0.6527 GB, free: 7.777 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002564/0.7786, allocations: 289.9 kB / 0.6529 GB, free: 7.492 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.781, allocations: 1.077 MB / 0.654 GB, free: 6.367 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005408/0.7815, allocations: 0.8749 MB / 0.6549 GB, free: 5.465 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000613/0.7822, allocations: 103.4 kB / 0.655 GB, free: 5.363 MB / 458.7 MB Notification: Performance of SimCode: time 1.353e-06/0.7822, allocations: 0 / 0.655 GB, free: 5.363 MB / 458.7 MB Notification: Performance of Templates: time 0.04215/0.8244, allocations: 15.18 MB / 0.6698 GB, free: 6.195 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches