Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.0008922/0.0008923, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008677/0.0008676, allocations: 94.56 kB / 261.7 MB, free: 1.676 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.1944/0.1944, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.769e-05/1.771e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.129, allocations: 58.86 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.316/1.445, allocations: 0.5962 GB / 1.062 GB, free: 36.54 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/1.445, allocations: 96.02 kB / 1.062 GB, free: 36.45 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.152/2.597, allocations: 277.4 MB / 1.333 GB, free: 90.72 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.573e-06/2.597, allocations: 0 / 1.333 GB, free: 90.72 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.212e-05/2.597, allocations: 10.88 kB / 1.333 GB, free: 90.72 MB / 0.4948 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.003512/2.601, allocations: 1.236 MB / 1.334 GB, free: 90.15 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/2.601, allocations: 9.688 kB / 1.334 GB, free: 90.15 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001308/2.602, allocations: 154.2 kB / 1.334 GB, free: 90.12 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009621/2.603, allocations: 0.4941 MB / 1.335 GB, free: 89.89 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/2.603, allocations: 15.41 kB / 1.335 GB, free: 89.89 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-05/2.603, allocations: 23.19 kB / 1.335 GB, free: 89.89 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006434/2.604, allocations: 425 kB / 1.335 GB, free: 89.89 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007392/2.605, allocations: 0.5522 MB / 1.336 GB, free: 89.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/2.605, allocations: 0 / 1.336 GB, free: 89.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.984e-05/2.605, allocations: 3.844 kB / 1.336 GB, free: 89.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/2.605, allocations: 14.05 kB / 1.336 GB, free: 89.71 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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.002513/2.607, allocations: 2.58 MB / 1.338 GB, free: 88.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003255/2.608, allocations: 224.1 kB / 1.339 GB, free: 88.07 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/2.608, allocations: 124 kB / 1.339 GB, free: 88.06 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003055/2.608, allocations: 321.2 kB / 1.339 GB, free: 87.78 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/2.608, allocations: 42.38 kB / 1.339 GB, free: 87.74 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=31): time 1.973e-06/2.608, allocations: 0 / 1.339 GB, free: 87.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31): time 0.002376/2.61, allocations: 0.758 MB / 1.34 GB, free: 87.67 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/2.61, allocations: 163.9 kB / 1.34 GB, free: 87.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004141/2.611, allocations: 390.3 kB / 1.34 GB, free: 87.37 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.247e-05/2.611, allocations: 35.03 kB / 1.34 GB, free: 87.34 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/2.611, allocations: 318.7 kB / 1.341 GB, free: 87.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.89e-05/2.611, allocations: 103.8 kB / 1.341 GB, free: 87.13 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/2.611, allocations: 6.344 kB / 1.341 GB, free: 87.13 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.071e-05/2.611, allocations: 355.2 kB / 1.341 GB, free: 86.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/2.611, allocations: 124.5 kB / 1.341 GB, free: 86.82 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/2.612, allocations: 292.3 kB / 1.342 GB, free: 86.62 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001863/2.614, allocations: 0.6 MB / 1.342 GB, free: 86.61 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/2.614, allocations: 3.375 kB / 1.342 GB, free: 86.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002428/2.616, allocations: 0.9213 MB / 1.343 GB, free: 86.54 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/2.616, allocations: 10.34 kB / 1.343 GB, free: 86.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/2.616, allocations: 9.625 kB / 1.343 GB, free: 86.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002196/2.616, allocations: 49.02 kB / 1.343 GB, free: 86.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003501/2.617, allocations: 118.6 kB / 1.343 GB, free: 86.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004445/2.617, allocations: 0.6098 MB / 1.344 GB, free: 86.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004602/2.618, allocations: 53.27 kB / 1.344 GB, free: 86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.871e-05/2.618, allocations: 52.47 kB / 1.344 GB, free: 86 MB / 0.4948 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 () * 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.0001343/2.618, allocations: 120.6 kB / 1.344 GB, free: 85.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/2.618, allocations: 53.44 kB / 1.344 GB, free: 85.87 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/2.619, allocations: 0.6158 MB / 1.345 GB, free: 85.77 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/2.619, allocations: 3.406 kB / 1.345 GB, free: 85.77 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/2.619, allocations: 2.812 kB / 1.345 GB, free: 85.77 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/2.619, allocations: 7.641 kB / 1.345 GB, free: 85.77 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/2.621, allocations: 1.123 MB / 1.346 GB, free: 85.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/2.621, allocations: 3.906 kB / 1.346 GB, free: 85.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/2.621, allocations: 48.94 kB / 1.346 GB, free: 85.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001234/2.621, allocations: 43.09 kB / 1.346 GB, free: 85.23 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/2.621, allocations: 11.12 kB / 1.346 GB, free: 85.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003712/2.622, allocations: 0.6043 MB / 1.347 GB, free: 84.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/2.622, allocations: 0 / 1.347 GB, free: 84.71 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009835/2.623, allocations: 0.6362 MB / 1.347 GB, free: 84.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/2.623, allocations: 150.6 kB / 1.347 GB, free: 84.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-05/2.623, allocations: 14.91 kB / 1.347 GB, free: 84.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003666/2.624, allocations: 21.61 kB / 1.347 GB, free: 84.21 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/2.624, allocations: 26.61 kB / 1.347 GB, free: 84.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/2.624, allocations: 21.69 kB / 1.347 GB, free: 84.21 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002988/2.624, allocations: 322.2 kB / 1.348 GB, free: 84.12 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.11e-07/2.624, allocations: 0 / 1.348 GB, free: 84.12 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001675/2.626, allocations: 478.2 kB / 1.348 GB, free: 84.06 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.002712/2.628, allocations: 1.503 MB / 1.35 GB, free: 83.76 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005961/2.629, allocations: 323 kB / 1.35 GB, free: 83.76 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/2.629, allocations: 3.938 kB / 1.35 GB, free: 83.75 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001874/2.629, allocations: 123 kB / 1.35 GB, free: 83.75 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/2.63, allocations: 271.2 kB / 1.35 GB, free: 83.74 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009667/2.631, allocations: 0.5724 MB / 1.351 GB, free: 83.47 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/2.632, allocations: 0.8723 MB / 1.352 GB, free: 82.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0008302/2.633, allocations: 198.7 kB / 1.352 GB, free: 82.76 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001897/2.633, allocations: 71.89 kB / 1.352 GB, free: 82.75 MB / 0.4948 GB Notification: Performance of SimCode: time 2.41e-07/2.633, allocations: 3.938 kB / 1.352 GB, free: 82.75 MB / 0.4948 GB Notification: Performance of Templates: time 0.0284/2.661, allocations: 19.18 MB / 1.371 GB, free: 81.7 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat","/var/lib/jenkins/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_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches