Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.0008167/0.0008167, allocations: 87.62 kB / 21.44 MB, free: 3.133 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.003719/0.003719, allocations: 160.9 kB / 24.7 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.866/0.866, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2695/0.2695, allocations: 32.79 MB / 294.2 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.TestComponents.NewFittings.Bends.CurvedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 440.9 MB, free: 3.727 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.959e-05/2.138e-05, allocations: 3.828 kB / 440.9 MB, free: 3.723 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.294/0.294, allocations: 161.6 MB / 0.5884 GB, free: 2.66 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004174/0.2982, allocations: 3.416 MB / 0.5917 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003142/0.2985, allocations: 23.75 kB / 0.5917 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006982/0.2992, allocations: 321.7 kB / 0.592 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.003097/0.3023, allocations: 1.793 MB / 0.5938 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00135/0.3037, allocations: 0.7256 MB / 0.5945 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001527/0.3052, allocations: 1.559 MB / 0.596 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004642/0.3056, allocations: 356.4 kB / 0.5964 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008165/0.3065, allocations: 0.8064 MB / 0.5972 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000463/0.3069, allocations: 414.8 kB / 0.5975 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.668e-05/0.307, allocations: 48 kB / 0.5976 GB, free: 9.211 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.3086, allocations: 1.205 MB / 0.5988 GB, free: 8.004 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.3087, allocations: 163.4 kB / 0.5989 GB, free: 7.844 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001885/0.3089, allocations: 251.4 kB / 0.5992 GB, free: 7.598 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001699/0.3106, allocations: 1.783 MB / 0.6009 GB, free: 5.812 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3106, allocations: 0 / 0.6009 GB, free: 5.812 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.082e-06/0.3106, allocations: 3.469 kB / 0.6009 GB, free: 5.812 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.996e-06/0.3106, allocations: 4 kB / 0.6009 GB, free: 5.809 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001376/0.312, allocations: 1.025 MB / 0.6019 GB, free: 4.75 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.3121, allocations: 8.031 kB / 0.6019 GB, free: 4.742 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005332/0.3126, allocations: 151.5 kB / 0.6021 GB, free: 4.594 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009036/0.3135, allocations: 426.1 kB / 0.6025 GB, free: 4.148 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.3135, allocations: 29 kB / 0.6025 GB, free: 4.121 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.655e-05/0.3136, allocations: 40 kB / 0.6025 GB, free: 4.082 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008165/0.3144, allocations: 0.8933 MB / 0.6034 GB, free: 3.078 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.3144, allocations: 4 kB / 0.6034 GB, free: 3.074 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.162e-05/0.3144, allocations: 20 kB / 0.6034 GB, free: 3.055 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.3144, allocations: 15.98 kB / 0.6035 GB, free: 3.039 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005756/0.315, allocations: 471.6 kB / 0.6039 GB, free: 2.578 MB / 0.4948 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.001625/0.3166, allocations: 1.882 MB / 0.6057 GB, free: 0.6328 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004585/0.3171, allocations: 323.2 kB / 0.606 GB, free: 316 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.3173, allocations: 157.3 kB / 0.6062 GB, free: 156 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001422/0.3174, allocations: 48.23 kB / 0.6062 GB, free: 108 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.3175, allocations: 38.84 kB / 0.6063 GB, free: 60 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 1.402e-06/0.3175, allocations: 0 / 0.6063 GB, free: 60 kB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.001024/0.3185, allocations: 0.6437 MB / 0.6069 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/0.3185, allocations: 136.5 kB / 0.607 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003009/0.3188, allocations: 413.9 kB / 0.6074 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.3189, allocations: 29.7 kB / 0.6075 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.319, allocations: 288.4 kB / 0.6077 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.566e-05/0.3191, allocations: 126.9 kB / 0.6079 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.947e-05/0.3192, allocations: 102.2 kB / 0.608 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.976e-05/0.3193, allocations: 354.8 kB / 0.6083 GB, free: 13.92 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.3195, allocations: 144.9 kB / 0.6084 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002923/0.3197, allocations: 364.3 kB / 0.6088 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004571/0.3202, allocations: 433.6 kB / 0.6092 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.3202, allocations: 0 / 0.6092 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000888/0.3211, allocations: 0.5406 MB / 0.6097 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.3211, allocations: 8 kB / 0.6097 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.3211, allocations: 4.438 kB / 0.6097 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007576/0.3219, allocations: 248.5 kB / 0.61 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.3221, allocations: 103.9 kB / 0.6101 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003213/0.3224, allocations: 0.5928 MB / 0.6106 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.3225, allocations: 47.66 kB / 0.6107 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.996e-05/0.3226, allocations: 47.98 kB / 0.6107 GB, free: 11.26 MB / 0.5105 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.0001588/0.3227, allocations: 173.8 kB / 0.6109 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.04e-05/0.3228, allocations: 51.66 kB / 0.611 GB, free: 11.03 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.3239, allocations: 1.096 MB / 0.612 GB, free: 9.926 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3239, allocations: 7.984 kB / 0.612 GB, free: 9.918 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3239, allocations: 0 / 0.612 GB, free: 9.918 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3239, allocations: 4 kB / 0.612 GB, free: 9.914 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008045/0.3247, allocations: 0.8544 MB / 0.6129 GB, free: 9.004 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.3247, allocations: 7.984 kB / 0.6129 GB, free: 8.996 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.3248, allocations: 47.98 kB / 0.6129 GB, free: 8.949 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001322/0.3261, allocations: 440.2 kB / 0.6133 GB, free: 8.516 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/0.3262, allocations: 9.312 kB / 0.6134 GB, free: 8.508 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002884/0.3265, allocations: 0.6109 MB / 0.6139 GB, free: 7.871 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3265, allocations: 0 / 0.6139 GB, free: 7.871 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004708/0.3269, allocations: 0.4995 MB / 0.6144 GB, free: 7.34 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.626e-05/0.327, allocations: 47.66 kB / 0.6145 GB, free: 7.293 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.513e-05/0.327, allocations: 15.88 kB / 0.6145 GB, free: 7.277 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.3272, allocations: 15.98 kB / 0.6145 GB, free: 7.262 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.5e-05/0.3272, allocations: 32.81 kB / 0.6145 GB, free: 7.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.3272, allocations: 15.98 kB / 0.6146 GB, free: 7.215 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002546/0.3275, allocations: 327.1 kB / 0.6149 GB, free: 6.895 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.3275, allocations: 0 / 0.6149 GB, free: 6.895 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006579/0.3281, allocations: 358.9 kB / 0.6152 GB, free: 6.543 MB / 0.5105 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.0007203/0.3289, allocations: 446 kB / 0.6156 GB, free: 6.094 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005467/0.3294, allocations: 363.8 kB / 0.616 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3294, allocations: 0 / 0.616 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.3296, allocations: 157 kB / 0.6161 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.3307, allocations: 300.8 kB / 0.6164 GB, free: 5.309 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009913/0.3317, allocations: 0.8909 MB / 0.6173 GB, free: 4.375 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001533/0.3318, allocations: 259.2 kB / 0.6175 GB, free: 4.09 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002092/0.3321, allocations: 120.4 kB / 0.6177 GB, free: 3.973 MB / 0.5105 GB Notification: Performance of SimCode: time 6.01e-07/0.3321, allocations: 0 / 0.6177 GB, free: 3.973 MB / 0.5105 GB Notification: Performance of Templates: time 0.01295/0.345, allocations: 15.2 MB / 0.6325 GB, free: 4.828 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/CurvedBend/CurvedBend.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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: 7.292492221109569]