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.001136/0.001136, allocations: 109 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001231/0.001231, allocations: 210.8 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.4 MB / 247.6 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2206/0.2206, allocations: 46.1 MB / 345 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 79.88 kB / 482 MB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4766/0.4779, allocations: 62.42 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.2291/0.7071, allocations: 184.1 MB / 0.7114 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007961/0.7151, allocations: 4.62 MB / 0.7159 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000967/0.7161, allocations: 19.88 kB / 0.7159 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.7175, allocations: 341.7 kB / 0.7163 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006241/0.7237, allocations: 1.805 MB / 0.718 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002933/0.7267, allocations: 0.9449 MB / 0.719 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.4321/1.159, allocations: 1.705 MB / 0.7206 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/1.16, allocations: 443.6 kB / 0.721 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002738/1.163, allocations: 0.8575 MB / 0.7219 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009822/1.164, allocations: 0.496 MB / 0.7224 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001348/1.164, allocations: 54.22 kB / 0.7224 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003337/1.167, allocations: 1.305 MB / 0.7237 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00026/1.168, allocations: 174.5 kB / 0.7239 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007524/1.168, allocations: 375.5 kB / 0.7242 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003697/1.172, allocations: 1.639 MB / 0.7258 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/1.172, allocations: 1 kB / 0.7258 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.264e-06/1.172, allocations: 0.8438 kB / 0.7258 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.068e-05/1.172, allocations: 0 / 0.7258 GB, free: 4.031 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.0028/1.175, allocations: 1.106 MB / 0.7269 GB, free: 19.43 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/1.175, allocations: 10.44 kB / 0.7269 GB, free: 19.43 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/1.176, allocations: 162.8 kB / 0.7271 GB, free: 19.4 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/1.177, allocations: 0.5051 MB / 0.7276 GB, free: 19.14 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.887e-05/1.177, allocations: 33.91 kB / 0.7276 GB, free: 19.14 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.916e-05/1.177, allocations: 41.75 kB / 0.7276 GB, free: 19.14 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/1.179, allocations: 0.6437 MB / 0.7283 GB, free: 19 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/1.179, allocations: 5.656 kB / 0.7283 GB, free: 19 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.176e-05/1.179, allocations: 23.66 kB / 0.7283 GB, free: 19 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/1.179, allocations: 11.19 kB / 0.7283 GB, free: 19 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009016/1.18, allocations: 0.4995 MB / 0.7288 GB, free: 19 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.00359/1.183, allocations: 2.641 MB / 0.7314 GB, free: 17.31 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007065/1.184, allocations: 322.8 kB / 0.7317 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002856/1.184, allocations: 166.3 kB / 0.7318 GB, free: 17.28 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004653/1.185, allocations: 434.5 kB / 0.7322 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/1.185, allocations: 41.09 kB / 0.7323 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 2.645e-06/1.185, allocations: 0 / 0.7323 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.00165/1.187, allocations: 0.709 MB / 0.733 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/1.187, allocations: 161.4 kB / 0.7331 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000609/1.187, allocations: 0.5268 MB / 0.7336 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.04e-05/1.187, allocations: 35.17 kB / 0.7337 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/1.188, allocations: 301.3 kB / 0.734 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/1.188, allocations: 124.8 kB / 0.7341 GB, free: 16.03 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002066/1.188, allocations: 119.1 kB / 0.7342 GB, free: 16.01 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002278/1.188, allocations: 363.7 kB / 0.7345 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002871/1.189, allocations: 146.2 kB / 0.7347 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003815/1.189, allocations: 321.5 kB / 0.735 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007136/1.19, allocations: 474.8 kB / 0.7354 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/1.19, allocations: 1.062 kB / 0.7354 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001052/1.191, allocations: 0.5682 MB / 0.736 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.613e-05/1.191, allocations: 14.11 kB / 0.736 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/1.191, allocations: 4.875 kB / 0.736 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001501/1.192, allocations: 242.4 kB / 0.7362 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003791/1.193, allocations: 119.9 kB / 0.7364 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000607/1.193, allocations: 0.5896 MB / 0.7369 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004525/1.194, allocations: 54.12 kB / 0.737 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.422e-05/1.194, allocations: 55.59 kB / 0.737 GB, free: 14.69 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.0003303/1.194, allocations: 196.2 kB / 0.7372 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/1.194, allocations: 56.69 kB / 0.7373 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001794/1.196, allocations: 1.108 MB / 0.7384 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/1.196, allocations: 4.5 kB / 0.7384 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.196, allocations: 1.094 kB / 0.7384 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/1.196, allocations: 3.531 kB / 0.7384 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/1.198, allocations: 1.015 MB / 0.7394 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/1.198, allocations: 0 / 0.7394 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/1.198, allocations: 54.45 kB / 0.7394 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003006/1.201, allocations: 446.1 kB / 0.7398 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/1.201, allocations: 9.844 kB / 0.7399 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004481/1.201, allocations: 0.5957 MB / 0.7404 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/1.201, allocations: 10.62 kB / 0.7404 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007815/1.202, allocations: 0.4987 MB / 0.7409 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002242/1.202, allocations: 145.7 kB / 0.7411 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/1.203, allocations: 13.19 kB / 0.7411 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000349/1.203, allocations: 14.47 kB / 0.7411 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.182e-05/1.203, allocations: 28 kB / 0.7411 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.141e-05/1.203, allocations: 18.73 kB / 0.7411 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005635/1.204, allocations: 449.1 kB / 0.7416 GB, free: 13 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/1.204, allocations: 0 / 0.7416 GB, free: 13 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001182/1.205, allocations: 295.3 kB / 0.7419 GB, free: 12.97 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.0009456/1.206, allocations: 391.3 kB / 0.7422 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008512/1.207, allocations: 379.8 kB / 0.7426 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/1.207, allocations: 2.078 kB / 0.7426 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002999/1.207, allocations: 149.1 kB / 0.7427 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001761/1.209, allocations: 398.7 kB / 0.7431 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/1.21, allocations: 0.9669 MB / 0.7441 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004646/1.211, allocations: 0.8647 MB / 0.7449 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003811/1.211, allocations: 134.9 kB / 0.745 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of SimCode: time 1.413e-06/1.211, allocations: 0 / 0.745 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of Templates: time 0.02504/1.236, allocations: 15.64 MB / 0.7603 GB, free: 10.16 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins1/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