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.0009354/0.0009354, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009492/0.0009492, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.9674/0.9674, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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.2774/0.2774, allocations: 34.26 MB / 295.7 MB, free: 0.7617 MB / 266.7 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.[0-9,]+..m_flow|boundary.ports.[0-9,]+..p|boundary.ports.[0-9,]+..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.[0-9,]+..m_flow|boundary.ports.[0-9,]+..p|boundary.ports.[0-9,]+..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 2.094e-06/2.094e-06, allocations: 0 / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.945e-05/3.154e-05, allocations: 5.688 kB / 378.1 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.3493/0.3493, allocations: 148.8 MB / 0.5145 GB, free: 15.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003538/0.3528, allocations: 3.046 MB / 0.5175 GB, free: 13.28 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003394/0.3532, allocations: 24.31 kB / 0.5175 GB, free: 13.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000481/0.3536, allocations: 180.7 kB / 0.5177 GB, free: 13.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002168/0.3558, allocations: 1.235 MB / 0.5189 GB, free: 12.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.3568, allocations: 0.5947 MB / 0.5195 GB, free: 12.21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001258/0.3581, allocations: 1.556 MB / 0.521 GB, free: 11.47 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005006/0.3586, allocations: 372.7 kB / 0.5214 GB, free: 11.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007869/0.3594, allocations: 0.7713 MB / 0.5221 GB, free: 10.95 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005553/0.3599, allocations: 488.8 kB / 0.5226 GB, free: 10.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.622e-05/0.36, allocations: 51.41 kB / 0.5226 GB, free: 10.8 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.3611, allocations: 0.8139 MB / 0.5234 GB, free: 10.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.3613, allocations: 165.7 kB / 0.5236 GB, free: 10.49 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001918/0.3614, allocations: 250.5 kB / 0.5238 GB, free: 10.4 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00136/0.3628, allocations: 1.208 MB / 0.525 GB, free: 9.945 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3628, allocations: 0 / 0.525 GB, free: 9.945 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3628, allocations: 0 / 0.525 GB, free: 9.945 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.3628, allocations: 0 / 0.525 GB, free: 9.945 MB / 410.7 MB 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.001215/0.364, allocations: 1.076 MB / 0.5261 GB, free: 9.191 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.3641, allocations: 8.062 kB / 0.5261 GB, free: 9.191 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006045/0.3647, allocations: 216.5 kB / 0.5263 GB, free: 9.102 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004649/0.3652, allocations: 446 kB / 0.5267 GB, free: 8.812 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.3652, allocations: 38.28 kB / 0.5267 GB, free: 8.793 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.796e-05/0.3652, allocations: 43.47 kB / 0.5268 GB, free: 8.781 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006252/0.3658, allocations: 0.8064 MB / 0.5276 GB, free: 8.141 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3659, allocations: 3.938 kB / 0.5276 GB, free: 8.137 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.745e-05/0.3659, allocations: 20.38 kB / 0.5276 GB, free: 8.125 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.3659, allocations: 8.875 kB / 0.5276 GB, free: 8.125 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003808/0.3663, allocations: 274.5 kB / 0.5279 GB, free: 8.082 MB / 410.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.001421/0.3677, allocations: 2.272 MB / 0.5301 GB, free: 6.281 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003439/0.3681, allocations: 216.3 kB / 0.5303 GB, free: 6.211 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.3682, allocations: 80.98 kB / 0.5304 GB, free: 6.188 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000139/0.3683, allocations: 64.7 kB / 0.5304 GB, free: 6.168 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.3683, allocations: 40.61 kB / 0.5305 GB, free: 6.121 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.295e-06/0.3683, allocations: 0 / 0.5305 GB, free: 6.121 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008172/0.3691, allocations: 480.5 kB / 0.5309 GB, free: 5.965 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.3692, allocations: 140.3 kB / 0.531 GB, free: 5.805 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.3694, allocations: 442.1 kB / 0.5315 GB, free: 5.551 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.3695, allocations: 32.48 kB / 0.5315 GB, free: 5.516 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.3696, allocations: 342.5 kB / 0.5318 GB, free: 5.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.704e-05/0.3696, allocations: 124 kB / 0.5319 GB, free: 5.129 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.3697, allocations: 111.7 kB / 0.5321 GB, free: 5.074 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.915e-05/0.3698, allocations: 0.5247 MB / 0.5326 GB, free: 4.562 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.3699, allocations: 72.28 kB / 0.5326 GB, free: 4.555 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.3701, allocations: 332.5 kB / 0.533 GB, free: 4.219 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002792/0.3704, allocations: 321.6 kB / 0.5333 GB, free: 3.977 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.3704, allocations: 7 kB / 0.5333 GB, free: 3.973 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004598/0.3708, allocations: 402.9 kB / 0.5336 GB, free: 3.824 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3708, allocations: 12.66 kB / 0.5337 GB, free: 3.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3708, allocations: 2.344 kB / 0.5337 GB, free: 3.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006648/0.3715, allocations: 203.4 kB / 0.5339 GB, free: 3.797 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.3717, allocations: 105.1 kB / 0.534 GB, free: 3.781 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002493/0.3719, allocations: 0.8381 MB / 0.5348 GB, free: 2.961 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.3721, allocations: 36.77 kB / 0.5348 GB, free: 2.941 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.512e-05/0.3722, allocations: 44.17 kB / 0.5349 GB, free: 2.938 MB / 410.7 MB 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.0001308/0.3723, allocations: 186.8 kB / 0.535 GB, free: 2.754 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.574e-05/0.3724, allocations: 62.92 kB / 0.5351 GB, free: 2.723 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009681/0.3733, allocations: 0.9651 MB / 0.536 GB, free: 2.414 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3733, allocations: 5.375 kB / 0.536 GB, free: 2.414 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3733, allocations: 10.12 kB / 0.536 GB, free: 2.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3733, allocations: 2.719 kB / 0.536 GB, free: 2.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007705/0.3741, allocations: 0.8364 MB / 0.5369 GB, free: 1.855 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.3741, allocations: 3.984 kB / 0.5369 GB, free: 1.852 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.3742, allocations: 54.88 kB / 0.5369 GB, free: 1.844 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001169/0.3754, allocations: 320 kB / 0.5372 GB, free: 1.816 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.3754, allocations: 13.5 kB / 0.5372 GB, free: 1.809 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000224/0.3756, allocations: 0.843 MB / 0.5381 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.3756, allocations: 0 / 0.5381 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/0.376, allocations: 480.8 kB / 0.5385 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-05/0.3761, allocations: 48.16 kB / 0.5386 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.917e-05/0.3761, allocations: 14.64 kB / 0.5386 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.3762, allocations: 19.47 kB / 0.5386 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.645e-05/0.3763, allocations: 27.17 kB / 0.5386 GB, free: 0.582 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.3763, allocations: 18.19 kB / 0.5386 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001977/0.3765, allocations: 317.9 kB / 0.5389 GB, free: 424 kB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3765, allocations: 0 / 0.5389 GB, free: 424 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006564/0.3772, allocations: 283.9 kB / 0.5392 GB, free: 356 kB / 410.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.0005488/0.3777, allocations: 349.3 kB / 0.5396 GB, free: 188 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004353/0.3782, allocations: 254.1 kB / 0.5398 GB, free: 124 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3782, allocations: 0 / 0.5398 GB, free: 124 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.3783, allocations: 115.7 kB / 0.5399 GB, free: 84 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007645/0.3791, allocations: 322.7 kB / 0.5402 GB, free: 0 / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.3803, allocations: 0.8455 MB / 0.541 GB, free: 15.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.041e-05/0.3804, allocations: 123.7 kB / 0.5412 GB, free: 15.37 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005716/0.381, allocations: 495.1 kB / 0.5416 GB, free: 15.28 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.3811, allocations: 82.5 kB / 0.5417 GB, free: 15.27 MB / 426.7 MB Notification: Performance of SimCode: time 1.132e-06/0.3811, allocations: 3.938 kB / 0.5417 GB, free: 15.26 MB / 426.7 MB Notification: Performance of Templates: time 0.02024/0.4014, allocations: 15.98 MB / 0.5573 GB, free: 1.82 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9561384050175548]