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.002085/0.002085, allocations: 118.1 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002124/0.002124, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2228/0.2228, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001677, allocations: 71.88 kB / 481.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3958/0.3975, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.2178/0.6154, allocations: 184.1 MB / 0.7108 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0105/0.6259, allocations: 4.608 MB / 0.7153 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0017/0.6277, allocations: 19.88 kB / 0.7153 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002023/0.6298, allocations: 341.7 kB / 0.7156 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00764/0.6375, allocations: 1.805 MB / 0.7174 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003189/0.6407, allocations: 0.9553 MB / 0.7183 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.453/1.094, allocations: 1.703 MB / 0.72 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001511/1.095, allocations: 439.4 kB / 0.7204 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00291/1.098, allocations: 0.8614 MB / 0.7212 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001216/1.099, allocations: 0.4924 MB / 0.7217 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001539/1.1, allocations: 54.22 kB / 0.7218 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003749/1.103, allocations: 1.306 MB / 0.723 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003271/1.104, allocations: 171.4 kB / 0.7232 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00073/1.104, allocations: 375.9 kB / 0.7235 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003545/1.108, allocations: 1.635 MB / 0.7251 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/1.108, allocations: 2.719 kB / 0.7251 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.154e-06/1.108, allocations: 1.625 kB / 0.7252 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.264e-05/1.108, allocations: 3.656 kB / 0.7252 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.002777/1.111, allocations: 1.108 MB / 0.7262 GB, free: 19.43 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/1.111, allocations: 9.938 kB / 0.7262 GB, free: 19.43 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001327/1.112, allocations: 158.6 kB / 0.7264 GB, free: 19.4 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009748/1.113, allocations: 0.5032 MB / 0.7269 GB, free: 19.14 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.985e-05/1.113, allocations: 33.06 kB / 0.7269 GB, free: 19.14 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.921e-05/1.113, allocations: 46 kB / 0.727 GB, free: 19.14 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/1.115, allocations: 0.6432 MB / 0.7276 GB, free: 19 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/1.115, allocations: 4.906 kB / 0.7276 GB, free: 19 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.997e-05/1.115, allocations: 23.34 kB / 0.7276 GB, free: 19 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/1.115, allocations: 13.06 kB / 0.7276 GB, free: 19 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008442/1.116, allocations: 0.498 MB / 0.7281 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.003519/1.119, allocations: 2.643 MB / 0.7307 GB, free: 17.31 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006681/1.12, allocations: 324.5 kB / 0.731 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002739/1.12, allocations: 157.6 kB / 0.7312 GB, free: 17.28 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004839/1.121, allocations: 438.9 kB / 0.7316 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/1.121, allocations: 37.22 kB / 0.7316 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 2.535e-06/1.121, allocations: 0.9688 kB / 0.7316 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.001649/1.122, allocations: 0.7094 MB / 0.7323 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/1.123, allocations: 159.5 kB / 0.7325 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005806/1.123, allocations: 0.5241 MB / 0.733 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.57e-05/1.123, allocations: 35.77 kB / 0.733 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/1.123, allocations: 306 kB / 0.7333 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/1.124, allocations: 118.3 kB / 0.7334 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001831/1.124, allocations: 127 kB / 0.7335 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001663/1.124, allocations: 363 kB / 0.7339 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002892/1.124, allocations: 146.6 kB / 0.734 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003906/1.125, allocations: 315.6 kB / 0.7343 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006609/1.125, allocations: 479.2 kB / 0.7348 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/1.125, allocations: 3.812 kB / 0.7348 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001025/1.126, allocations: 0.5658 MB / 0.7353 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/1.126, allocations: 11.94 kB / 0.7353 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/1.126, allocations: 3.719 kB / 0.7353 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001513/1.128, allocations: 240.5 kB / 0.7356 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/1.128, allocations: 122.8 kB / 0.7357 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005123/1.129, allocations: 0.5898 MB / 0.7363 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004725/1.129, allocations: 55.58 kB / 0.7363 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-05/1.129, allocations: 58.45 kB / 0.7364 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.000324/1.13, allocations: 194.5 kB / 0.7366 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/1.13, allocations: 63.22 kB / 0.7366 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/1.132, allocations: 1.101 MB / 0.7377 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/1.132, allocations: 7.156 kB / 0.7377 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.132, allocations: 0 / 0.7377 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/1.132, allocations: 2.859 kB / 0.7377 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/1.133, allocations: 1.014 MB / 0.7387 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/1.133, allocations: 0 / 0.7387 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000196/1.133, allocations: 52.94 kB / 0.7387 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002976/1.136, allocations: 445.9 kB / 0.7392 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/1.136, allocations: 15.34 kB / 0.7392 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005037/1.137, allocations: 0.5974 MB / 0.7398 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.137, allocations: 2.781 kB / 0.7398 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007275/1.138, allocations: 0.5006 MB / 0.7403 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001986/1.138, allocations: 146.4 kB / 0.7404 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/1.138, allocations: 12.94 kB / 0.7404 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003339/1.138, allocations: 14.64 kB / 0.7404 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.181e-05/1.138, allocations: 33.91 kB / 0.7405 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.661e-05/1.138, allocations: 13.11 kB / 0.7405 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005893/1.139, allocations: 456.3 kB / 0.7409 GB, free: 13 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/1.139, allocations: 0 / 0.7409 GB, free: 13 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001197/1.14, allocations: 292.8 kB / 0.7412 GB, free: 12.96 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.001023/1.141, allocations: 390.2 kB / 0.7416 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009341/1.142, allocations: 383.7 kB / 0.7419 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/1.142, allocations: 2.141 kB / 0.7419 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003196/1.143, allocations: 148.5 kB / 0.7421 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002018/1.145, allocations: 403.1 kB / 0.7425 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/1.147, allocations: 0.9342 MB / 0.7434 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006352/1.147, allocations: 0.8692 MB / 0.7442 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001215/1.148, allocations: 0.5679 MB / 0.7448 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002476/1.149, allocations: 97.33 kB / 0.7449 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of SimCode: time 5.61e-07/1.149, allocations: 0 / 0.7449 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of Templates: time 0.03087/1.18, allocations: 17.19 MB / 0.7617 GB, free: 9.555 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