Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001783/0.001783, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.005202/0.005202, allocations: 159.4 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.073/1.073, allocations: 177 MB / 205.9 MB, free: 4.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1851/0.1851, allocations: 34.87 MB / 297.4 MB, free: 13.33 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.102e-05/3.3e-05, allocations: 4.234 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4074/0.4074, allocations: 146 MB / 0.5137 GB, free: 16.31 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004792/0.4122, allocations: 3.012 MB / 0.5167 GB, free: 16.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006553/0.4128, allocations: 24.02 kB / 0.5167 GB, free: 16.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006705/0.4135, allocations: 189.3 kB / 0.5169 GB, free: 16.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003198/0.4167, allocations: 1.225 MB / 0.5181 GB, free: 16.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.4181, allocations: 0.5865 MB / 0.5187 GB, free: 16.15 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002259/0.4204, allocations: 1.569 MB / 0.5202 GB, free: 16.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008421/0.4212, allocations: 373.5 kB / 0.5205 GB, free: 16.02 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001286/0.4225, allocations: 0.7701 MB / 0.5213 GB, free: 15.96 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008283/0.4233, allocations: 499.4 kB / 0.5218 GB, free: 15.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000146/0.4235, allocations: 52.97 kB / 0.5218 GB, free: 15.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001822/0.4253, allocations: 0.8119 MB / 0.5226 GB, free: 15.87 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.4254, allocations: 162.1 kB / 0.5228 GB, free: 15.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003682/0.4258, allocations: 253.3 kB / 0.523 GB, free: 15.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001963/0.4278, allocations: 1.198 MB / 0.5242 GB, free: 15.69 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.4278, allocations: 0 / 0.5242 GB, free: 15.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.4278, allocations: 0 / 0.5242 GB, free: 15.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.768e-05/0.4278, allocations: 0 / 0.5242 GB, free: 15.69 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.001747/0.4295, allocations: 1.088 MB / 0.5252 GB, free: 15.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.4296, allocations: 9.562 kB / 0.5253 GB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007002/0.4303, allocations: 218.3 kB / 0.5255 GB, free: 14.97 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005903/0.4309, allocations: 438.9 kB / 0.5259 GB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/0.4309, allocations: 39.88 kB / 0.5259 GB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.734e-05/0.431, allocations: 41.97 kB / 0.526 GB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006566/0.4316, allocations: 0.7674 MB / 0.5267 GB, free: 14.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.4316, allocations: 6.656 kB / 0.5267 GB, free: 14.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.102e-05/0.4317, allocations: 27.27 kB / 0.5267 GB, free: 14.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.4317, allocations: 13.56 kB / 0.5268 GB, free: 14.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003647/0.4321, allocations: 224.3 kB / 0.527 GB, free: 14.18 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.001693/0.4338, allocations: 2.197 MB / 0.5291 GB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003514/0.4341, allocations: 193.9 kB / 0.5293 GB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.869e-05/0.4342, allocations: 73.27 kB / 0.5294 GB, free: 12.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001469/0.4343, allocations: 45.83 kB / 0.5294 GB, free: 12.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.4344, allocations: 50.28 kB / 0.5295 GB, free: 12.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.465e-06/0.4344, allocations: 0 / 0.5295 GB, free: 12.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008734/0.4353, allocations: 454 kB / 0.5299 GB, free: 12.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.4353, allocations: 136.2 kB / 0.53 GB, free: 12.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002677/0.4356, allocations: 431.3 kB / 0.5304 GB, free: 12.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.4356, allocations: 32.02 kB / 0.5305 GB, free: 12.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.4357, allocations: 351.9 kB / 0.5308 GB, free: 11.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.142e-05/0.4358, allocations: 124 kB / 0.5309 GB, free: 11.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.436, allocations: 111.4 kB / 0.531 GB, free: 11.81 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.002e-05/0.436, allocations: 0.534 MB / 0.5315 GB, free: 11.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.312e-05/0.4361, allocations: 57.05 kB / 0.5316 GB, free: 11.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001763/0.4363, allocations: 318.6 kB / 0.5319 GB, free: 11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002736/0.4366, allocations: 300.8 kB / 0.5322 GB, free: 10.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.4366, allocations: 3.125 kB / 0.5322 GB, free: 10.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004814/0.4371, allocations: 381.4 kB / 0.5326 GB, free: 10.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.4371, allocations: 5.656 kB / 0.5326 GB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.4371, allocations: 13.38 kB / 0.5326 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000729/0.4378, allocations: 202.9 kB / 0.5328 GB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.438, allocations: 97.06 kB / 0.5329 GB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00036/0.4384, allocations: 0.8227 MB / 0.5337 GB, free: 9.922 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.4386, allocations: 38.83 kB / 0.5337 GB, free: 9.906 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-05/0.4387, allocations: 45.98 kB / 0.5337 GB, free: 9.902 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.0001688/0.4388, allocations: 190.7 kB / 0.5339 GB, free: 9.734 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-05/0.4389, allocations: 61.52 kB / 0.534 GB, free: 9.707 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/0.4401, allocations: 0.9501 MB / 0.5349 GB, free: 9.523 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.4401, allocations: 8.344 kB / 0.5349 GB, free: 9.523 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.4401, allocations: 0 / 0.5349 GB, free: 9.523 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.4401, allocations: 1.359 kB / 0.5349 GB, free: 9.523 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008173/0.4409, allocations: 0.7547 MB / 0.5357 GB, free: 9.156 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4409, allocations: 0 / 0.5357 GB, free: 9.156 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.441, allocations: 56.94 kB / 0.5357 GB, free: 9.156 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001198/0.4422, allocations: 320 kB / 0.536 GB, free: 9.137 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.4423, allocations: 9.75 kB / 0.536 GB, free: 9.137 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002403/0.4425, allocations: 0.8399 MB / 0.5369 GB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.4425, allocations: 4.781 kB / 0.5369 GB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003429/0.4429, allocations: 449 kB / 0.5373 GB, free: 8.039 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.691e-05/0.4429, allocations: 53.5 kB / 0.5373 GB, free: 8.004 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.134e-05/0.443, allocations: 14.88 kB / 0.5373 GB, free: 8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.4431, allocations: 12.48 kB / 0.5374 GB, free: 8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.784e-05/0.4432, allocations: 32.34 kB / 0.5374 GB, free: 7.996 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/0.4432, allocations: 17.39 kB / 0.5374 GB, free: 7.996 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001865/0.4434, allocations: 295.7 kB / 0.5377 GB, free: 7.867 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4434, allocations: 0 / 0.5377 GB, free: 7.867 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007938/0.4442, allocations: 287.7 kB / 0.538 GB, free: 7.82 MB / 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.0005663/0.4447, allocations: 352.1 kB / 0.5383 GB, free: 7.684 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004126/0.4451, allocations: 231.4 kB / 0.5385 GB, free: 7.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.4452, allocations: 2.906 kB / 0.5385 GB, free: 7.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.4453, allocations: 108.2 kB / 0.5386 GB, free: 7.637 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007941/0.4461, allocations: 311.7 kB / 0.5389 GB, free: 7.594 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.4473, allocations: 0.8341 MB / 0.5397 GB, free: 7.094 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.461e-05/0.4474, allocations: 128.7 kB / 0.5399 GB, free: 7.016 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006496/0.448, allocations: 479 kB / 0.5403 GB, free: 6.941 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005191/0.4485, allocations: 354.5 kB / 0.5407 GB, free: 6.836 MB / 410.7 MB Notification: Performance of SimCode: time 8.31e-07/0.4485, allocations: 2.344 kB / 0.5407 GB, free: 6.836 MB / 410.7 MB Notification: Performance of Templates: time 0.02159/0.4701, allocations: 16.1 MB / 0.5564 GB, free: 13.36 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 4.43288313690573]