Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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.001929/0.001929, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.002592/0.002592, allocations: 209 kB / 24.48 MB, free: 3.938 MB / 14.72 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 1.437/1.437, allocations: 230.6 MB / 258.2 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] 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.2243/0.2243, allocations: 44.95 MB / 359.6 MB, free: 6.051 MB / 286.1 MB " [Timeout remaining time 179] 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.GenericResistances.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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.GenericResistances.VolumeFlowRate") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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.GenericResistances.VolumeFlowRate") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002435/0.002435, allocations: 64.19 kB / 0.4943 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3654, allocations: 65.48 MB / 0.5582 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2139/0.5792, allocations: 161.5 MB / 0.7159 GB, free: 5.359 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004694/0.5839, allocations: 2.03 MB / 0.7179 GB, free: 3.324 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007786/0.5847, allocations: 19.81 kB / 0.7179 GB, free: 3.305 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001146/0.5858, allocations: 290 kB / 0.7182 GB, free: 3.02 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004133/0.59, allocations: 1.203 MB / 0.7194 GB, free: 1.82 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002151/0.5921, allocations: 0.6962 MB / 0.7201 GB, free: 1.129 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002554/0.5947, allocations: 1.496 MB / 0.7215 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007628/0.5954, allocations: 355.8 kB / 0.7219 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001332/0.5968, allocations: 0.5916 MB / 0.7225 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006701/0.5974, allocations: 434.1 kB / 0.7229 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.5976, allocations: 51.98 kB / 0.7229 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001759/0.5993, allocations: 0.6826 MB / 0.7236 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001839/0.5995, allocations: 155.4 kB / 0.7237 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003708/0.5999, allocations: 278.9 kB / 0.724 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002055/0.6019, allocations: 1.199 MB / 0.7252 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.6019, allocations: 4 kB / 0.7252 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.574e-06/0.6019, allocations: 0 / 0.7252 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.488e-05/0.6019, allocations: 3.938 kB / 0.7252 GB, free: 11.88 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001935/0.6039, allocations: 0.9248 MB / 0.7261 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.6039, allocations: 16.02 kB / 0.7261 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009732/0.6049, allocations: 131.5 kB / 0.7262 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009146/0.6058, allocations: 397.6 kB / 0.7266 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.519e-05/0.6059, allocations: 33 kB / 0.7266 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.064e-05/0.6059, allocations: 36 kB / 0.7267 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.6072, allocations: 0.8566 MB / 0.7275 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.6072, allocations: 3.938 kB / 0.7275 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.99e-05/0.6073, allocations: 20 kB / 0.7275 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.6073, allocations: 12 kB / 0.7275 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009872/0.6083, allocations: 407.6 kB / 0.7279 GB, free: 8.895 MB / 0.5606 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.002957/0.6112, allocations: 1.802 MB / 0.7297 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007052/0.6119, allocations: 274.8 kB / 0.7299 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002925/0.6122, allocations: 132.8 kB / 0.7301 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002076/0.6124, allocations: 43.97 kB / 0.7301 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.238e-05/0.6125, allocations: 46.56 kB / 0.7302 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 2.444e-06/0.6125, allocations: 0 / 0.7302 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.00251/0.615, allocations: 0.6189 MB / 0.7308 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.6151, allocations: 132.5 kB / 0.7309 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005169/0.6156, allocations: 385.6 kB / 0.7313 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.854e-05/0.6157, allocations: 33.7 kB / 0.7313 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002538/0.6159, allocations: 288.3 kB / 0.7316 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.616, allocations: 107 kB / 0.7317 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.6162, allocations: 113.6 kB / 0.7318 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002033/0.6164, allocations: 346.8 kB / 0.7321 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003935/0.6168, allocations: 143.9 kB / 0.7322 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007336/0.6176, allocations: 356.3 kB / 0.7326 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009154/0.6185, allocations: 425.5 kB / 0.733 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.6185, allocations: 0 / 0.733 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00141/0.6199, allocations: 0.5215 MB / 0.7335 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/0.6199, allocations: 8 kB / 0.7335 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.6199, allocations: 4 kB / 0.7335 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002261/0.6222, allocations: 268.6 kB / 0.7338 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004282/0.6226, allocations: 107.9 kB / 0.7339 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/0.6237, allocations: 0.5953 MB / 0.7345 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004341/0.6241, allocations: 47.72 kB / 0.7345 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.717e-05/0.6242, allocations: 47.97 kB / 0.7345 GB, free: 1.793 MB / 0.5606 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 (41): * Single equations (assignments): 40 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004117/0.6246, allocations: 185.6 kB / 0.7347 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002237/0.6249, allocations: 47.72 kB / 0.7348 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002416/0.6273, allocations: 1.016 MB / 0.7358 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.6273, allocations: 4 kB / 0.7358 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6273, allocations: 3.938 kB / 0.7358 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.6273, allocations: 3.984 kB / 0.7358 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3073/0.9346, allocations: 0.8189 MB / 0.7366 GB, free: 179 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-06/0.9346, allocations: 2.641 kB / 0.7366 GB, free: 179 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000279/0.9349, allocations: 50.97 kB / 0.7366 GB, free: 179 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001915/0.9368, allocations: 258.9 kB / 0.7369 GB, free: 178.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.485e-05/0.9368, allocations: 12.81 kB / 0.7369 GB, free: 178.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008004/0.9376, allocations: 0.6047 MB / 0.7375 GB, free: 178.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.9376, allocations: 2.156 kB / 0.7375 GB, free: 178.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.939, allocations: 0.4991 MB / 0.738 GB, free: 178.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.9391, allocations: 42.89 kB / 0.738 GB, free: 178.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.9392, allocations: 12.16 kB / 0.738 GB, free: 178.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003567/0.9396, allocations: 17.59 kB / 0.738 GB, free: 178.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.134e-05/0.9397, allocations: 26.16 kB / 0.7381 GB, free: 178.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.484e-05/0.9397, allocations: 18.17 kB / 0.7381 GB, free: 178.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004883/0.9402, allocations: 304.7 kB / 0.7384 GB, free: 178 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9402, allocations: 0 / 0.7384 GB, free: 178 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001074/0.9413, allocations: 229.8 kB / 0.7386 GB, free: 178 MB / 0.5606 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 (23): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.0006727/0.942, allocations: 294.5 kB / 0.7389 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001271/0.9432, allocations: 359 kB / 0.7392 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.9432, allocations: 6.672 kB / 0.7392 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006574/0.9439, allocations: 148.8 kB / 0.7394 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.9451, allocations: 256 kB / 0.7396 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.947, allocations: 0.9383 MB / 0.7405 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.9472, allocations: 249 kB / 0.7407 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003314/0.9475, allocations: 120.2 kB / 0.7409 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of SimCode: time 6.61e-07/0.9475, allocations: 0 / 0.7409 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.01376/0.9613, allocations: 12.61 MB / 0.7532 GB, free: 165.2 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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: 10.825000394601375]