Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.00142/0.00142, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001482/0.001482, allocations: 213.3 kB / 24.48 MB, free: 3.941 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.458/1.458, allocations: 230.6 MB / 258.2 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.231/0.231, allocations: 46.95 MB / 361.6 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Orifices.ThickEdgedOrifice,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.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,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.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 71.83 kB / 0.4973 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2919, allocations: 66.03 MB / 0.5618 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.2338/0.5257, allocations: 161.7 MB / 0.7198 GB, free: 1.832 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005444/0.5311, allocations: 3.022 MB / 0.7227 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005147/0.5316, allocations: 23.75 kB / 0.7227 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008839/0.5325, allocations: 317.9 kB / 0.723 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003514/0.536, allocations: 1.425 MB / 0.7244 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001781/0.5378, allocations: 0.7434 MB / 0.7251 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002027/0.5398, allocations: 1.594 MB / 0.7267 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005744/0.5404, allocations: 363.8 kB / 0.727 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009416/0.5413, allocations: 0.615 MB / 0.7276 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006058/0.5419, allocations: 482.1 kB / 0.7281 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.542, allocations: 52 kB / 0.7282 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001908/0.544, allocations: 0.9477 MB / 0.7291 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001768/0.5441, allocations: 167.3 kB / 0.7292 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003151/0.5444, allocations: 294.8 kB / 0.7295 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002005/0.5465, allocations: 1.445 MB / 0.7309 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.5465, allocations: 3.938 kB / 0.7309 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5465, allocations: 0 / 0.7309 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.5465, allocations: 4 kB / 0.7309 GB, free: 6.336 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001884/0.5483, allocations: 0.9984 MB / 0.7319 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.5484, allocations: 8.031 kB / 0.7319 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.5494, allocations: 139.5 kB / 0.7321 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008648/0.5503, allocations: 437.6 kB / 0.7325 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.365e-05/0.5503, allocations: 32.94 kB / 0.7325 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.578e-05/0.5504, allocations: 44 kB / 0.7326 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.5517, allocations: 0.8996 MB / 0.7334 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.5518, allocations: 4 kB / 0.7334 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.21e-05/0.5518, allocations: 24 kB / 0.7335 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.5518, allocations: 8 kB / 0.7335 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009923/0.5528, allocations: 475.6 kB / 0.7339 GB, free: 3.117 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.002917/0.5557, allocations: 1.904 MB / 0.7358 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007802/0.5565, allocations: 326.3 kB / 0.7361 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003271/0.5569, allocations: 161.3 kB / 0.7362 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00022/0.5571, allocations: 52.25 kB / 0.7363 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.5571, allocations: 38.84 kB / 0.7363 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.913e-06/0.5571, allocations: 0 / 0.7363 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.2352/0.7923, allocations: 0.6503 MB / 0.737 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.7924, allocations: 133 kB / 0.7371 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006752/0.7931, allocations: 425 kB / 0.7375 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.307e-05/0.7931, allocations: 36.39 kB / 0.7375 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.7933, allocations: 293.2 kB / 0.7378 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.7935, allocations: 125.2 kB / 0.7379 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002327/0.7937, allocations: 101.2 kB / 0.738 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.7938, allocations: 351.4 kB / 0.7384 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003917/0.7942, allocations: 152.4 kB / 0.7385 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000459/0.7946, allocations: 369.8 kB / 0.7389 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007868/0.7954, allocations: 445.7 kB / 0.7393 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.7954, allocations: 0.5938 kB / 0.7393 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00116/0.7966, allocations: 0.5377 MB / 0.7398 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.7966, allocations: 11.09 kB / 0.7398 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.7966, allocations: 3.438 kB / 0.7398 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001702/0.7983, allocations: 246.3 kB / 0.7401 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003843/0.7987, allocations: 108.2 kB / 0.7402 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003453/0.7991, allocations: 0.5917 MB / 0.7407 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000322/0.7994, allocations: 44.69 kB / 0.7408 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-05/0.7995, allocations: 45.38 kB / 0.7408 GB, free: 174.3 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 (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.0002267/0.7997, allocations: 192.1 kB / 0.741 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.7998, allocations: 46.78 kB / 0.7411 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001766/0.8016, allocations: 1.083 MB / 0.7421 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.748e-06/0.8016, allocations: 3.656 kB / 0.7421 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.8016, allocations: 0 / 0.7421 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.8016, allocations: 11.47 kB / 0.7421 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.8027, allocations: 0.8622 MB / 0.743 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.8027, allocations: 0 / 0.743 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/0.803, allocations: 56.7 kB / 0.743 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003399/0.8063, allocations: 443.3 kB / 0.7434 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.8064, allocations: 16 kB / 0.7435 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002994/0.8067, allocations: 0.612 MB / 0.7441 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.8067, allocations: 3.312 kB / 0.7441 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000646/0.8073, allocations: 0.508 MB / 0.7446 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.157e-05/0.8074, allocations: 46.33 kB / 0.7446 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.77e-05/0.8075, allocations: 9.734 kB / 0.7446 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003088/0.8078, allocations: 17.08 kB / 0.7446 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.411e-05/0.8078, allocations: 27.95 kB / 0.7447 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.067e-05/0.8079, allocations: 24.98 kB / 0.7447 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003017/0.8082, allocations: 339.1 kB / 0.745 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.8082, allocations: 0 / 0.745 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000751/0.8089, allocations: 300.7 kB / 0.7453 GB, free: 171.3 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 (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.0006251/0.8096, allocations: 374 kB / 0.7456 GB, free: 171 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008828/0.8104, allocations: 366.7 kB / 0.746 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.8104, allocations: 3.938 kB / 0.746 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003942/0.8108, allocations: 155.8 kB / 0.7461 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.8121, allocations: 276.8 kB / 0.7464 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.8131, allocations: 0.9089 MB / 0.7473 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/0.8133, allocations: 259.1 kB / 0.7475 GB, free: 169 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007653/0.814, allocations: 0.5404 MB / 0.7481 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002053/0.8142, allocations: 87.38 kB / 0.7482 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.8142, allocations: 0 / 0.7482 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.0186/0.8328, allocations: 15.57 MB / 0.7634 GB, free: 153.1 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.028689804996247]