Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.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.Dissipation.TestCases.PressureLoss.Bend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008829/0.0008828, allocations: 181.3 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.0007326/0.0007326, allocations: 89.41 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3069/0.3069, allocations: 43.56 MB / 363.8 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003235/0.0003235, allocations: 16 kB / 432.6 MB, free: 5.633 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1067, allocations: 58.84 MB / 491.5 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.256/1.362, allocations: 0.6185 GB / 1.098 GB, free: 175 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/1.363, allocations: 93.05 kB / 1.098 GB, free: 175 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7633/2.126, allocations: 282.3 MB / 1.374 GB, free: 97.57 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.062e-06/2.126, allocations: 3.406 kB / 1.374 GB, free: 97.57 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.813e-05/2.126, allocations: 18.2 kB / 1.374 GB, free: 97.56 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002981/2.129, allocations: 1.31 MB / 1.375 GB, free: 96.79 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/2.129, allocations: 10.53 kB / 1.375 GB, free: 96.79 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/2.13, allocations: 167.3 kB / 1.376 GB, free: 96.76 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007543/2.131, allocations: 0.5152 MB / 1.376 GB, free: 96.49 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/2.131, allocations: 34.31 kB / 1.376 GB, free: 96.49 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.48e-05/2.131, allocations: 45.56 kB / 1.376 GB, free: 96.49 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009575/2.132, allocations: 0.6528 MB / 1.377 GB, free: 96.32 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/2.132, allocations: 3.938 kB / 1.377 GB, free: 96.31 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.309e-05/2.132, allocations: 20.94 kB / 1.377 GB, free: 96.31 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/2.132, allocations: 13.62 kB / 1.377 GB, free: 96.31 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007383/2.133, allocations: 0.4972 MB / 1.377 GB, free: 96.3 MB / 0.5105 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.002336/2.135, allocations: 2.629 MB / 1.38 GB, free: 94.63 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005279/2.136, allocations: 311.7 kB / 1.38 GB, free: 94.6 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002274/2.136, allocations: 153.1 kB / 1.38 GB, free: 94.59 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009705/2.137, allocations: 1.311 MB / 1.382 GB, free: 93.46 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/2.137, allocations: 51.45 kB / 1.382 GB, free: 93.41 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 2.324e-06/2.137, allocations: 0 / 1.382 GB, free: 93.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35): time 0.001428/2.139, allocations: 0.6932 MB / 1.382 GB, free: 93.09 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/2.139, allocations: 162.1 kB / 1.383 GB, free: 92.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004788/2.139, allocations: 0.5136 MB / 1.383 GB, free: 92.66 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.043e-05/2.139, allocations: 33.11 kB / 1.383 GB, free: 92.62 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00014/2.139, allocations: 297.1 kB / 1.383 GB, free: 92.39 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.481e-05/2.139, allocations: 131.6 kB / 1.384 GB, free: 92.29 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.646e-05/2.139, allocations: 11.91 kB / 1.384 GB, free: 92.28 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.359e-05/2.139, allocations: 363.9 kB / 1.384 GB, free: 91.94 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/2.14, allocations: 141.3 kB / 1.384 GB, free: 91.89 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003055/2.14, allocations: 322.3 kB / 1.384 GB, free: 91.64 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005117/2.141, allocations: 478.5 kB / 1.385 GB, free: 91.34 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/2.141, allocations: 0 / 1.385 GB, free: 91.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007973/2.141, allocations: 0.563 MB / 1.385 GB, free: 91.12 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/2.141, allocations: 13.06 kB / 1.385 GB, free: 91.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/2.141, allocations: 6.688 kB / 1.385 GB, free: 91.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/2.143, allocations: 234.1 kB / 1.386 GB, free: 91.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/2.143, allocations: 117.5 kB / 1.386 GB, free: 91.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003035/2.143, allocations: 0.5913 MB / 1.386 GB, free: 90.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004258/2.144, allocations: 68.84 kB / 1.386 GB, free: 90.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.614e-05/2.144, allocations: 56.97 kB / 1.386 GB, free: 90.51 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (52): * Single equations (assignments): 51 * 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.0002428/2.144, allocations: 192.1 kB / 1.387 GB, free: 90.36 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.604e-05/2.144, allocations: 58.5 kB / 1.387 GB, free: 90.33 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/2.145, allocations: 0.6877 MB / 1.387 GB, free: 90.02 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/2.145, allocations: 2.719 kB / 1.387 GB, free: 90.02 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/2.145, allocations: 10.69 kB / 1.387 GB, free: 90.01 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/2.145, allocations: 3.656 kB / 1.387 GB, free: 90.01 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/2.147, allocations: 0.9516 MB / 1.388 GB, free: 89.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/2.147, allocations: 0 / 1.388 GB, free: 89.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/2.147, allocations: 55.61 kB / 1.388 GB, free: 89.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00109/2.148, allocations: 229 kB / 1.388 GB, free: 89.42 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/2.148, allocations: 14.53 kB / 1.389 GB, free: 89.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003002/2.148, allocations: 0.5865 MB / 1.389 GB, free: 88.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/2.148, allocations: 3.125 kB / 1.389 GB, free: 88.86 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005271/2.149, allocations: 488.3 kB / 1.39 GB, free: 88.53 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/2.149, allocations: 160.7 kB / 1.39 GB, free: 88.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.133e-05/2.149, allocations: 11.34 kB / 1.39 GB, free: 88.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003518/2.149, allocations: 31.41 kB / 1.39 GB, free: 88.38 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.95e-05/2.149, allocations: 31.81 kB / 1.39 GB, free: 88.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.24e-05/2.149, allocations: 22.73 kB / 1.39 GB, free: 88.36 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000418/2.15, allocations: 405.8 kB / 1.39 GB, free: 88.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.21e-07/2.15, allocations: 0 / 1.39 GB, free: 88.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001644/2.152, allocations: 495.6 kB / 1.391 GB, free: 88.03 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 25 * 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 Backend phase and start with SimCode phase: time 0.002157/2.154, allocations: 1.364 MB / 1.392 GB, free: 87.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007607/2.154, allocations: 358.6 kB / 1.392 GB, free: 87.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/2.154, allocations: 3.969 kB / 1.392 GB, free: 87.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002251/2.155, allocations: 137.1 kB / 1.392 GB, free: 87.55 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/2.156, allocations: 346 kB / 1.393 GB, free: 87.49 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/2.158, allocations: 1.113 MB / 1.394 GB, free: 86.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/2.158, allocations: 0.8562 MB / 1.395 GB, free: 86.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003161/2.158, allocations: 106.1 kB / 1.395 GB, free: 86.09 MB / 0.5105 GB Notification: Performance of SimCode: time 5.11e-07/2.158, allocations: 0 / 1.395 GB, free: 86.09 MB / 0.5105 GB Notification: Performance of Templates: time 0.02416/2.182, allocations: 20.39 MB / 1.415 GB, free: 78.96 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Bend/Bend.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches