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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007823/0.0007823, allocations: 84.44 kB / 20.69 MB, free: 3.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007531/0.0007531, allocations: 169.9 kB / 23.96 MB, free: 0.6016 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8432/0.8432, allocations: 158.6 MB / 185.7 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1349/0.1349, allocations: 32.37 MB / 270.4 MB, free: 14.98 MB / 266.7 MB " [Timeout remaining time 180] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5050,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=5050,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.255e-06/2.255e-06, allocations: 0 / 408.1 MB, free: 1.723 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.216e-05/3.442e-05, allocations: 5.938 kB / 408.1 MB, free: 1.719 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.337/0.337, allocations: 162.8 MB / 0.5575 GB, free: 2.145 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007161/0.3442, allocations: 6.804 MB / 0.5642 GB, free: 13.5 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007164/0.3449, allocations: 22.59 kB / 0.5642 GB, free: 13.49 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008111/0.3457, allocations: 335 kB / 0.5645 GB, free: 13.21 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005606/0.3513, allocations: 2.791 MB / 0.5672 GB, free: 11.34 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001904/0.3532, allocations: 0.957 MB / 0.5682 GB, free: 10.64 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002149/0.3554, allocations: 1.693 MB / 0.5698 GB, free: 9.637 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006789/0.3561, allocations: 374.8 kB / 0.5702 GB, free: 9.379 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001703/0.3578, allocations: 1.089 MB / 0.5712 GB, free: 8.719 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006339/0.3584, allocations: 462.1 kB / 0.5717 GB, free: 8.492 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.3585, allocations: 53 kB / 0.5717 GB, free: 8.492 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00282/0.3613, allocations: 1.451 MB / 0.5732 GB, free: 7.785 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.3615, allocations: 178 kB / 0.5733 GB, free: 7.652 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002859/0.3618, allocations: 266.9 kB / 0.5736 GB, free: 7.539 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003221/0.365, allocations: 2.046 MB / 0.5756 GB, free: 6.285 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.365, allocations: 4 kB / 0.5756 GB, free: 6.281 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.365, allocations: 6.219 kB / 0.5756 GB, free: 6.277 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.406e-05/0.3651, allocations: 0 / 0.5756 GB, free: 6.277 MB / 458.7 MB 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.001973/0.367, allocations: 1.108 MB / 0.5767 GB, free: 5.445 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.3671, allocations: 10.69 kB / 0.5767 GB, free: 5.445 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006858/0.3678, allocations: 153.9 kB / 0.5768 GB, free: 5.375 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006703/0.3684, allocations: 455.7 kB / 0.5773 GB, free: 5.023 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.3685, allocations: 39.44 kB / 0.5773 GB, free: 5.004 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.182e-05/0.3685, allocations: 38.34 kB / 0.5773 GB, free: 4.992 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008936/0.3694, allocations: 1.042 MB / 0.5784 GB, free: 4.059 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.3694, allocations: 0 / 0.5784 GB, free: 4.059 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.487e-05/0.3694, allocations: 24.41 kB / 0.5784 GB, free: 4.043 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.3695, allocations: 10.91 kB / 0.5784 GB, free: 4.043 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005893/0.37, allocations: 499.2 kB / 0.5789 GB, free: 3.812 MB / 458.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.001987/0.372, allocations: 2.011 MB / 0.5808 GB, free: 1.781 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004544/0.3725, allocations: 293.3 kB / 0.5811 GB, free: 1.488 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.3726, allocations: 148.8 kB / 0.5812 GB, free: 1.34 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008679/0.3735, allocations: 418.4 kB / 0.5816 GB, free: 0.9336 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.3735, allocations: 42.55 kB / 0.5817 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 2.865e-06/0.3735, allocations: 0 / 0.5817 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of matching and sorting (n=35): time 0.001043/0.3746, allocations: 0.6109 MB / 0.5823 GB, free: 268 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.005e-05/0.3747, allocations: 162.2 kB / 0.5824 GB, free: 68 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003555/0.375, allocations: 433.8 kB / 0.5829 GB, free: 15.63 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.971e-05/0.3751, allocations: 33.7 kB / 0.5829 GB, free: 15.59 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.3752, allocations: 304.2 kB / 0.5832 GB, free: 15.29 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.546e-05/0.3753, allocations: 134.8 kB / 0.5833 GB, free: 15.16 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.3754, allocations: 114.1 kB / 0.5834 GB, free: 15.04 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.3755, allocations: 360.2 kB / 0.5838 GB, free: 14.68 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.3757, allocations: 144.9 kB / 0.5839 GB, free: 14.54 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002864/0.376, allocations: 417.1 kB / 0.5843 GB, free: 14.03 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004941/0.3765, allocations: 470.6 kB / 0.5847 GB, free: 13.51 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.3765, allocations: 4 kB / 0.5847 GB, free: 13.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000736/0.3772, allocations: 0.5528 MB / 0.5853 GB, free: 12.94 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/0.3772, allocations: 8 kB / 0.5853 GB, free: 12.93 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.3772, allocations: 8.031 kB / 0.5853 GB, free: 12.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009336/0.3782, allocations: 236.5 kB / 0.5855 GB, free: 12.69 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002796/0.3785, allocations: 127.8 kB / 0.5856 GB, free: 12.57 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003976/0.3789, allocations: 0.5835 MB / 0.5862 GB, free: 11.96 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.3791, allocations: 43.67 kB / 0.5863 GB, free: 11.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-05/0.3791, allocations: 51.98 kB / 0.5863 GB, free: 11.86 MB / 474.7 MB 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 (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.000219/0.3794, allocations: 185.7 kB / 0.5865 GB, free: 11.67 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.149e-05/0.3794, allocations: 59.67 kB / 0.5865 GB, free: 11.61 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000924/0.3804, allocations: 0.7373 MB / 0.5873 GB, free: 10.86 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.3804, allocations: 4 kB / 0.5873 GB, free: 10.86 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.3804, allocations: 0 / 0.5873 GB, free: 10.86 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.3804, allocations: 11.92 kB / 0.5873 GB, free: 10.85 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000912/0.3813, allocations: 0.8446 MB / 0.5881 GB, free: 9.945 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.3813, allocations: 8.031 kB / 0.5881 GB, free: 9.938 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.3814, allocations: 51.91 kB / 0.5882 GB, free: 9.887 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001678/0.3831, allocations: 440.2 kB / 0.5886 GB, free: 9.453 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.3831, allocations: 8 kB / 0.5886 GB, free: 9.445 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000308/0.3834, allocations: 0.5913 MB / 0.5892 GB, free: 8.828 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3834, allocations: 4.031 kB / 0.5892 GB, free: 8.824 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005147/0.3839, allocations: 491.2 kB / 0.5896 GB, free: 8.309 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.957e-05/0.384, allocations: 59.66 kB / 0.5897 GB, free: 8.25 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.361e-05/0.3841, allocations: 15.88 kB / 0.5897 GB, free: 8.234 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.3842, allocations: 12 kB / 0.5897 GB, free: 8.223 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.3843, allocations: 27.95 kB / 0.5897 GB, free: 8.195 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.3843, allocations: 19.98 kB / 0.5898 GB, free: 8.176 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002805/0.3846, allocations: 342.9 kB / 0.5901 GB, free: 7.84 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3846, allocations: 0 / 0.5901 GB, free: 7.84 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009686/0.3855, allocations: 398.8 kB / 0.5905 GB, free: 7.449 MB / 474.7 MB 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 (28): * Single equations (assignments): 27 * 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.001028/0.3866, allocations: 0.5439 MB / 0.591 GB, free: 6.906 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006079/0.3872, allocations: 356.4 kB / 0.5913 GB, free: 6.559 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3872, allocations: 0 / 0.5913 GB, free: 6.559 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.3874, allocations: 149.2 kB / 0.5915 GB, free: 6.414 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008654/0.3882, allocations: 315.2 kB / 0.5918 GB, free: 6.121 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.3894, allocations: 0.9129 MB / 0.5927 GB, free: 5.16 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.3896, allocations: 267.5 kB / 0.5929 GB, free: 4.871 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/0.3898, allocations: 100.5 kB / 0.593 GB, free: 4.77 MB / 474.7 MB Notification: Performance of SimCode: time 9.92e-07/0.3898, allocations: 4 kB / 0.593 GB, free: 4.766 MB / 474.7 MB Notification: Performance of Templates: time 0.01844/0.4083, allocations: 16.21 MB / 0.6089 GB, free: 4.574 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.419795125722885]