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.001153/0.001153, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001304/0.001304, allocations: 199.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2225/0.2225, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 71.88 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.4092, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.2312/0.6405, allocations: 186 MB / 0.7126 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005701/0.6463, allocations: 3.264 MB / 0.7158 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007851/0.6471, allocations: 15.94 kB / 0.7158 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000996/0.6481, allocations: 313.8 kB / 0.7161 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003905/0.652, allocations: 1.411 MB / 0.7175 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002087/0.6542, allocations: 0.7258 MB / 0.7182 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.362/1.016, allocations: 1.557 MB / 0.7197 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009026/1.017, allocations: 429.6 kB / 0.7201 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/1.018, allocations: 0.5847 MB / 0.7207 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006571/1.019, allocations: 457 kB / 0.7212 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001325/1.019, allocations: 56.31 kB / 0.7212 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002414/1.021, allocations: 1.199 MB / 0.7224 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001758/1.022, allocations: 160.8 kB / 0.7225 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000433/1.022, allocations: 350.7 kB / 0.7229 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002449/1.024, allocations: 1.508 MB / 0.7243 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/1.024, allocations: 1.5 kB / 0.7243 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/1.025, allocations: 0 / 0.7243 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.307e-05/1.025, allocations: 1.844 kB / 0.7243 GB, free: 3.348 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.001913/1.026, allocations: 1.08 MB / 0.7254 GB, free: 18.71 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/1.026, allocations: 9.797 kB / 0.7254 GB, free: 18.71 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/1.028, allocations: 141.5 kB / 0.7255 GB, free: 18.67 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007366/1.028, allocations: 0.496 MB / 0.726 GB, free: 18.41 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/1.028, allocations: 31.16 kB / 0.7261 GB, free: 18.41 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.686e-05/1.028, allocations: 41.59 kB / 0.7261 GB, free: 18.41 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/1.029, allocations: 0.5915 MB / 0.7267 GB, free: 18.3 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/1.029, allocations: 5.156 kB / 0.7267 GB, free: 18.3 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.732e-05/1.03, allocations: 21.84 kB / 0.7267 GB, free: 18.3 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/1.03, allocations: 11.12 kB / 0.7267 GB, free: 18.3 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009206/1.03, allocations: 480.4 kB / 0.7272 GB, free: 18.29 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.002696/1.033, allocations: 2.674 MB / 0.7298 GB, free: 16.51 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006682/1.034, allocations: 350.1 kB / 0.7301 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002832/1.034, allocations: 179.6 kB / 0.7303 GB, free: 16.47 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000383/1.035, allocations: 437.5 kB / 0.7307 GB, free: 16 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/1.035, allocations: 39.02 kB / 0.7307 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.893e-06/1.035, allocations: 0.9688 kB / 0.7307 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001645/1.036, allocations: 0.7337 MB / 0.7315 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.858e-05/1.036, allocations: 135 kB / 0.7316 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004916/1.037, allocations: 0.4896 MB / 0.7321 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.729e-05/1.037, allocations: 35.47 kB / 0.7321 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/1.037, allocations: 280.1 kB / 0.7324 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.612e-05/1.037, allocations: 125.2 kB / 0.7325 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/1.037, allocations: 105.3 kB / 0.7326 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.037, allocations: 362.2 kB / 0.7329 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002849/1.038, allocations: 145.4 kB / 0.7331 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000341/1.038, allocations: 289.6 kB / 0.7333 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006307/1.039, allocations: 444.4 kB / 0.7338 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.039, allocations: 3.375 kB / 0.7338 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000932/1.04, allocations: 0.5427 MB / 0.7343 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/1.04, allocations: 12.88 kB / 0.7343 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/1.04, allocations: 4.375 kB / 0.7343 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001487/1.041, allocations: 240.7 kB / 0.7345 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/1.042, allocations: 100.6 kB / 0.7346 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005288/1.042, allocations: 0.6013 MB / 0.7352 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004122/1.043, allocations: 48.5 kB / 0.7353 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.384e-05/1.043, allocations: 46.34 kB / 0.7353 GB, free: 14.04 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.0002737/1.043, allocations: 187.3 kB / 0.7355 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/1.043, allocations: 56.55 kB / 0.7356 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001722/1.045, allocations: 1.09 MB / 0.7366 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/1.045, allocations: 7.344 kB / 0.7366 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.045, allocations: 3.375 kB / 0.7366 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.026e-06/1.045, allocations: 2.672 kB / 0.7366 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/1.046, allocations: 1.038 MB / 0.7376 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/1.046, allocations: 1.906 kB / 0.7376 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/1.046, allocations: 56.95 kB / 0.7377 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002918/1.049, allocations: 442 kB / 0.7381 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/1.049, allocations: 9.906 kB / 0.7381 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004245/1.05, allocations: 0.6103 MB / 0.7387 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.05, allocations: 6.688 kB / 0.7387 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000753/1.051, allocations: 0.5086 MB / 0.7392 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/1.051, allocations: 141.9 kB / 0.7394 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/1.051, allocations: 17.2 kB / 0.7394 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003199/1.051, allocations: 14.38 kB / 0.7394 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.251e-05/1.051, allocations: 33.5 kB / 0.7394 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.501e-05/1.051, allocations: 17.56 kB / 0.7394 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005201/1.052, allocations: 425.3 kB / 0.7399 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/1.052, allocations: 2.125 kB / 0.7399 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001036/1.053, allocations: 279.7 kB / 0.7401 GB, free: 12.36 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.0008369/1.054, allocations: 383.4 kB / 0.7405 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008074/1.055, allocations: 383.1 kB / 0.7409 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/1.055, allocations: 4.906 kB / 0.7409 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003374/1.055, allocations: 169.1 kB / 0.741 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001576/1.057, allocations: 355.1 kB / 0.7414 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/1.058, allocations: 0.9149 MB / 0.7423 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004202/1.058, allocations: 0.8576 MB / 0.7431 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009607/1.059, allocations: 0.5587 MB / 0.7436 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/1.059, allocations: 95.69 kB / 0.7437 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/1.059, allocations: 0.9062 kB / 0.7437 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of Templates: time 0.02475/1.084, allocations: 15.99 MB / 0.7593 GB, free: 9.66 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