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.001479/0.001479, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001811/0.001811, allocations: 200.6 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.628/1.628, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2131/0.2131, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 71.88 kB / 481.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3486, allocations: 62.44 MB / 0.531 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.1943/0.5429, allocations: 186 MB / 0.7126 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005275/0.5482, allocations: 3.264 MB / 0.7158 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006066/0.5488, allocations: 15.88 kB / 0.7158 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000982/0.5498, allocations: 329.8 kB / 0.7161 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003712/0.5536, allocations: 1.412 MB / 0.7175 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002009/0.5556, allocations: 0.7258 MB / 0.7182 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.3272/0.8828, allocations: 1.562 MB / 0.7198 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.884, allocations: 431.4 kB / 0.7202 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00182/0.8859, allocations: 0.5986 MB / 0.7208 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001361/0.8873, allocations: 463.9 kB / 0.7212 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002063/0.8875, allocations: 52.16 kB / 0.7212 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002596/0.8901, allocations: 1.203 MB / 0.7224 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001715/0.8903, allocations: 160.8 kB / 0.7226 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004215/0.8907, allocations: 350.9 kB / 0.7229 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002538/0.8933, allocations: 1.5 MB / 0.7244 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.8933, allocations: 2.031 kB / 0.7244 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.714e-06/0.8933, allocations: 0 / 0.7244 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.8933, allocations: 0 / 0.7244 GB, free: 3.461 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.002184/0.8955, allocations: 1.057 MB / 0.7254 GB, free: 18.88 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.8956, allocations: 10.89 kB / 0.7254 GB, free: 18.88 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/0.8966, allocations: 140.1 kB / 0.7256 GB, free: 18.84 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008206/0.8975, allocations: 497.4 kB / 0.726 GB, free: 18.59 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.529e-05/0.8975, allocations: 35.52 kB / 0.7261 GB, free: 18.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.176e-05/0.8976, allocations: 41.86 kB / 0.7261 GB, free: 18.59 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.8987, allocations: 0.5959 MB / 0.7267 GB, free: 18.47 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.8987, allocations: 1.531 kB / 0.7267 GB, free: 18.47 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.654e-05/0.8988, allocations: 20.88 kB / 0.7267 GB, free: 18.47 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.8988, allocations: 11.75 kB / 0.7267 GB, free: 18.47 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009264/0.8997, allocations: 484.5 kB / 0.7272 GB, free: 18.46 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.002985/0.9027, allocations: 2.668 MB / 0.7298 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006845/0.9034, allocations: 360.5 kB / 0.7301 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002813/0.9037, allocations: 173 kB / 0.7303 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004001/0.9041, allocations: 436.6 kB / 0.7307 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.9042, allocations: 40.56 kB / 0.7307 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.915e-06/0.9042, allocations: 0 / 0.7307 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001644/0.9059, allocations: 0.7299 MB / 0.7315 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.088e-05/0.9059, allocations: 135.8 kB / 0.7316 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004971/0.9065, allocations: 499.8 kB / 0.7321 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.573e-05/0.9065, allocations: 32.05 kB / 0.7321 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.9067, allocations: 288.1 kB / 0.7324 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.526e-05/0.9068, allocations: 113.9 kB / 0.7325 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.9069, allocations: 106.5 kB / 0.7326 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.9071, allocations: 360.7 kB / 0.7329 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002906/0.9074, allocations: 151.6 kB / 0.7331 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003541/0.9077, allocations: 276 kB / 0.7333 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006295/0.9084, allocations: 446.2 kB / 0.7338 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.9084, allocations: 6.062 kB / 0.7338 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009402/0.9093, allocations: 0.5419 MB / 0.7343 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.9094, allocations: 7.531 kB / 0.7343 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.9094, allocations: 4.719 kB / 0.7343 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001504/0.9109, allocations: 243 kB / 0.7345 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/0.9113, allocations: 107 kB / 0.7346 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000628/0.9119, allocations: 0.5989 MB / 0.7352 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005075/0.9124, allocations: 50.23 kB / 0.7353 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.9126, allocations: 44.09 kB / 0.7353 GB, free: 14.22 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.0003189/0.9129, allocations: 177 kB / 0.7355 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.913, allocations: 64.12 kB / 0.7355 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002163/0.9152, allocations: 1.083 MB / 0.7366 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.9152, allocations: 7.375 kB / 0.7366 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.9152, allocations: 5.562 kB / 0.7366 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.9152, allocations: 0 / 0.7366 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/0.9167, allocations: 1.034 MB / 0.7376 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.9167, allocations: 3.25 kB / 0.7376 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000196/0.9169, allocations: 53.73 kB / 0.7377 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002778/0.9197, allocations: 445.7 kB / 0.7381 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/0.9198, allocations: 8.688 kB / 0.7381 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004819/0.9203, allocations: 0.6101 MB / 0.7387 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.9203, allocations: 8.25 kB / 0.7387 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008226/0.9211, allocations: 0.5069 MB / 0.7392 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/0.9213, allocations: 135.3 kB / 0.7393 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.9214, allocations: 16.12 kB / 0.7394 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000305/0.9217, allocations: 18.23 kB / 0.7394 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.367e-05/0.9218, allocations: 27.73 kB / 0.7394 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.302e-05/0.9218, allocations: 17.52 kB / 0.7394 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004798/0.9223, allocations: 422 kB / 0.7398 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9223, allocations: 0 / 0.7398 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009536/0.9233, allocations: 282.2 kB / 0.7401 GB, free: 12.56 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.0009297/0.9242, allocations: 384.8 kB / 0.7405 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009375/0.9252, allocations: 389.2 kB / 0.7408 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.9252, allocations: 3.031 kB / 0.7408 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003393/0.9255, allocations: 164.7 kB / 0.741 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001616/0.9271, allocations: 352.3 kB / 0.7413 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.9285, allocations: 0.8978 MB / 0.7422 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/0.929, allocations: 0.8627 MB / 0.743 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009135/0.9299, allocations: 0.5618 MB / 0.7436 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000238/0.9301, allocations: 88.05 kB / 0.7437 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of SimCode: time 7.41e-07/0.9301, allocations: 0.9062 kB / 0.7437 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of Templates: time 0.0232/0.9533, allocations: 15.99 MB / 0.7593 GB, free: 9.891 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