Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001121/0.001121, allocations: 122.8 kB / 17.78 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.002276/0.002276, allocations: 198 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, 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.2143/0.2143, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 75.86 kB / 481.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3919, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.2209/0.6129, allocations: 184.1 MB / 0.7108 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006986/0.6199, allocations: 4.612 MB / 0.7153 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007109/0.6207, allocations: 15.88 kB / 0.7153 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.6218, allocations: 341.7 kB / 0.7156 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004488/0.6263, allocations: 1.782 MB / 0.7173 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002627/0.629, allocations: 0.9475 MB / 0.7183 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.3243/0.9533, allocations: 1.698 MB / 0.7199 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008955/0.9542, allocations: 441.1 kB / 0.7204 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001874/0.9561, allocations: 0.8484 MB / 0.7212 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007524/0.9569, allocations: 0.501 MB / 0.7217 GB, free: 4 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.717e-05/0.957, allocations: 57.64 kB / 0.7217 GB, free: 4 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002428/0.9594, allocations: 1.297 MB / 0.723 GB, free: 4 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.9596, allocations: 171.9 kB / 0.7232 GB, free: 4 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003854/0.96, allocations: 373.1 kB / 0.7235 GB, free: 4 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002116/0.9621, allocations: 1.638 MB / 0.7251 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.9621, allocations: 3.328 kB / 0.7251 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.9621, allocations: 0.9688 kB / 0.7251 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.936e-06/0.9622, allocations: 0 / 0.7251 GB, free: 3.969 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002/0.9642, allocations: 1.107 MB / 0.7262 GB, free: 19.37 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.9642, allocations: 9.531 kB / 0.7262 GB, free: 19.37 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/0.9655, allocations: 159.8 kB / 0.7264 GB, free: 19.34 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008654/0.9664, allocations: 0.5037 MB / 0.7268 GB, free: 19.08 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.655e-05/0.9665, allocations: 34.09 kB / 0.7269 GB, free: 19.08 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.31e-05/0.9666, allocations: 45.73 kB / 0.7269 GB, free: 19.08 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.9677, allocations: 0.6433 MB / 0.7276 GB, free: 18.94 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.9677, allocations: 0.9375 kB / 0.7276 GB, free: 18.94 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.229e-05/0.9678, allocations: 21.69 kB / 0.7276 GB, free: 18.94 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.9678, allocations: 15.05 kB / 0.7276 GB, free: 18.94 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008028/0.9686, allocations: 0.4959 MB / 0.7281 GB, free: 18.94 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.002646/0.9712, allocations: 2.646 MB / 0.7307 GB, free: 17.25 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000596/0.9719, allocations: 326.3 kB / 0.731 GB, free: 17.23 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.9721, allocations: 159.4 kB / 0.7311 GB, free: 17.22 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003544/0.9725, allocations: 439.1 kB / 0.7315 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.9725, allocations: 38.53 kB / 0.7316 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 1.513e-06/0.9725, allocations: 0 / 0.7316 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.001439/0.9739, allocations: 0.7102 MB / 0.7323 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.9741, allocations: 157.8 kB / 0.7324 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005381/0.9746, allocations: 0.5233 MB / 0.7329 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.425e-05/0.9747, allocations: 32.8 kB / 0.733 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.9749, allocations: 308.8 kB / 0.7333 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.078e-05/0.975, allocations: 116.9 kB / 0.7334 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.9751, allocations: 125.4 kB / 0.7335 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.9753, allocations: 363 kB / 0.7338 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.9756, allocations: 148 kB / 0.734 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003429/0.9759, allocations: 322.2 kB / 0.7343 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005829/0.9765, allocations: 477.1 kB / 0.7347 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.9765, allocations: 4.031 kB / 0.7347 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008696/0.9774, allocations: 0.5666 MB / 0.7353 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.9774, allocations: 10.88 kB / 0.7353 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.9775, allocations: 7.719 kB / 0.7353 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001456/0.9789, allocations: 235.9 kB / 0.7355 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003585/0.9793, allocations: 118.4 kB / 0.7357 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004318/0.9797, allocations: 0.5924 MB / 0.7362 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004348/0.9802, allocations: 54.81 kB / 0.7363 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.993e-05/0.9803, allocations: 52.56 kB / 0.7363 GB, free: 14.63 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (52): * Single equations (assignments): 51 * 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.0002793/0.9806, allocations: 197 kB / 0.7365 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.9807, allocations: 62.53 kB / 0.7366 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001789/0.9825, allocations: 1.103 MB / 0.7377 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.9825, allocations: 4.797 kB / 0.7377 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.9826, allocations: 0.7812 kB / 0.7377 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.9826, allocations: 2.906 kB / 0.7377 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.9838, allocations: 1.014 MB / 0.7387 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.9838, allocations: 3.25 kB / 0.7387 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.984, allocations: 55.38 kB / 0.7387 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003004/0.9871, allocations: 443.3 kB / 0.7391 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.9871, allocations: 9.062 kB / 0.7391 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003806/0.9875, allocations: 0.6059 MB / 0.7397 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.9875, allocations: 0.9375 kB / 0.7397 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006538/0.9881, allocations: 0.4985 MB / 0.7402 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.9883, allocations: 145.7 kB / 0.7404 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.387e-05/0.9884, allocations: 8.969 kB / 0.7404 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003316/0.9887, allocations: 19.09 kB / 0.7404 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.344e-05/0.9888, allocations: 30.25 kB / 0.7404 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.9888, allocations: 19.83 kB / 0.7404 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004666/0.9893, allocations: 448.4 kB / 0.7409 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9893, allocations: 1 kB / 0.7409 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001002/0.9903, allocations: 290.6 kB / 0.7411 GB, free: 12.91 MB / 0.5762 GB 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.0009108/0.9913, allocations: 405.9 kB / 0.7415 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007726/0.992, allocations: 373.1 kB / 0.7419 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.9921, allocations: 9.234 kB / 0.7419 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002813/0.9923, allocations: 148.7 kB / 0.742 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001831/0.9942, allocations: 395 kB / 0.7424 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.9955, allocations: 0.9349 MB / 0.7433 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/0.9959, allocations: 0.8711 MB / 0.7442 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000944/0.9969, allocations: 0.5722 MB / 0.7447 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002339/0.9971, allocations: 93.14 kB / 0.7448 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of SimCode: time 4e-07/0.9971, allocations: 0 / 0.7448 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.02793/1.025, allocations: 17.43 MB / 0.7618 GB, free: 9.309 MB / 0.5762 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches