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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001115/0.001115, allocations: 117.6 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00121/0.00121, allocations: 200.7 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2268/0.2268, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 75.88 kB / 481.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.4025, allocations: 62.43 MB / 0.531 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.2109/0.6134, allocations: 186 MB / 0.7126 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006348/0.6198, allocations: 3.262 MB / 0.7158 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008467/0.6207, allocations: 15.94 kB / 0.7158 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.622, allocations: 325.8 kB / 0.7161 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004509/0.6266, allocations: 1.384 MB / 0.7175 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002054/0.6286, allocations: 0.7402 MB / 0.7182 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.4055/1.034, allocations: 1.558 MB / 0.7197 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001754/1.036, allocations: 427.8 kB / 0.7201 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00203/1.038, allocations: 0.5869 MB / 0.7207 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009467/1.039, allocations: 461.2 kB / 0.7212 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001718/1.039, allocations: 51.97 kB / 0.7212 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003404/1.043, allocations: 1.203 MB / 0.7224 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000244/1.043, allocations: 158.3 kB / 0.7225 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00058/1.043, allocations: 351 kB / 0.7229 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002892/1.046, allocations: 1.512 MB / 0.7243 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/1.046, allocations: 2.344 kB / 0.7244 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.164e-06/1.046, allocations: 0 / 0.7244 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.05e-05/1.046, allocations: 0 / 0.7244 GB, free: 3.285 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.00239/1.049, allocations: 1.082 MB / 0.7254 GB, free: 18.64 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/1.049, allocations: 11.02 kB / 0.7254 GB, free: 18.64 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/1.05, allocations: 141.3 kB / 0.7256 GB, free: 18.61 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000894/1.051, allocations: 0.4931 MB / 0.726 GB, free: 18.35 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.71e-05/1.051, allocations: 30.66 kB / 0.7261 GB, free: 18.35 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.759e-05/1.051, allocations: 41.53 kB / 0.7261 GB, free: 18.35 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/1.052, allocations: 0.5912 MB / 0.7267 GB, free: 18.23 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/1.052, allocations: 2.656 kB / 0.7267 GB, free: 18.23 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.106e-05/1.052, allocations: 21.69 kB / 0.7267 GB, free: 18.23 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/1.052, allocations: 13.95 kB / 0.7267 GB, free: 18.23 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009875/1.053, allocations: 480 kB / 0.7272 GB, free: 18.23 MB / 0.5762 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.003169/1.056, allocations: 2.681 MB / 0.7298 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007618/1.057, allocations: 349.9 kB / 0.7301 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003039/1.058, allocations: 176 kB / 0.7303 GB, free: 16.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005317/1.058, allocations: 436.9 kB / 0.7307 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/1.058, allocations: 39.88 kB / 0.7307 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.354e-06/1.058, allocations: 0 / 0.7307 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001724/1.06, allocations: 0.7325 MB / 0.7315 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/1.06, allocations: 137 kB / 0.7316 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006023/1.061, allocations: 498.6 kB / 0.7321 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.68e-05/1.061, allocations: 29.64 kB / 0.7321 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/1.061, allocations: 288.2 kB / 0.7324 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.607e-05/1.061, allocations: 126.4 kB / 0.7325 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/1.061, allocations: 105.2 kB / 0.7326 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001819/1.061, allocations: 357.6 kB / 0.7329 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003001/1.062, allocations: 149.2 kB / 0.7331 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004188/1.062, allocations: 287.7 kB / 0.7334 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006954/1.063, allocations: 443.1 kB / 0.7338 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/1.063, allocations: 4.688 kB / 0.7338 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009213/1.064, allocations: 0.5457 MB / 0.7343 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/1.064, allocations: 8.531 kB / 0.7343 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/1.064, allocations: 3.062 kB / 0.7343 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001414/1.065, allocations: 241.9 kB / 0.7346 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003308/1.066, allocations: 105.1 kB / 0.7347 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005596/1.066, allocations: 0.6026 MB / 0.7352 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000426/1.067, allocations: 51.73 kB / 0.7353 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.616e-05/1.067, allocations: 46.14 kB / 0.7353 GB, free: 13.96 MB / 0.5762 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.0002824/1.067, allocations: 184.9 kB / 0.7355 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/1.067, allocations: 55.08 kB / 0.7356 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00193/1.069, allocations: 1.084 MB / 0.7366 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/1.069, allocations: 8.5 kB / 0.7366 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/1.069, allocations: 0.75 kB / 0.7366 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/1.069, allocations: 2.953 kB / 0.7366 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/1.07, allocations: 1.036 MB / 0.7376 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/1.071, allocations: 2.562 kB / 0.7377 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/1.071, allocations: 59.86 kB / 0.7377 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00283/1.074, allocations: 442.7 kB / 0.7381 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/1.074, allocations: 9.375 kB / 0.7381 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000516/1.074, allocations: 0.6135 MB / 0.7387 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/1.074, allocations: 7.938 kB / 0.7387 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008191/1.075, allocations: 0.507 MB / 0.7392 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/1.075, allocations: 139.2 kB / 0.7394 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.666e-05/1.075, allocations: 16.05 kB / 0.7394 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003104/1.076, allocations: 15.97 kB / 0.7394 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.297e-05/1.076, allocations: 33.59 kB / 0.7394 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.273e-05/1.076, allocations: 13.36 kB / 0.7394 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005325/1.076, allocations: 426.2 kB / 0.7399 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.076, allocations: 1.094 kB / 0.7399 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001102/1.077, allocations: 285.9 kB / 0.7401 GB, free: 12.29 MB / 0.5762 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.0009944/1.078, allocations: 383.7 kB / 0.7405 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000878/1.079, allocations: 380.7 kB / 0.7409 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/1.079, allocations: 3.906 kB / 0.7409 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003271/1.08, allocations: 172.2 kB / 0.741 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/1.081, allocations: 348.5 kB / 0.7414 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/1.082, allocations: 0.9198 MB / 0.7423 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005454/1.083, allocations: 0.8614 MB / 0.7431 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009324/1.084, allocations: 0.5589 MB / 0.7436 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002246/1.084, allocations: 88.52 kB / 0.7437 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of SimCode: time 5.01e-07/1.084, allocations: 0 / 0.7437 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.02462/1.109, allocations: 15.99 MB / 0.7593 GB, free: 9.602 MB / 0.5762 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches