Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 114 kB / 17.33 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 193.3 kB / 18.25 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 222.9 MB / 241.9 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2104/0.2104, allocations: 44.17 MB / 336.2 MB, free: 2.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 60.78 kB / 407.9 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1482, allocations: 60.84 MB / 468.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5039/0.6521, allocations: 179 MB / 0.6325 GB, free: 13.97 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007149/0.6593, allocations: 4.635 MB / 0.6371 GB, free: 9.324 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009008/0.6602, allocations: 23.81 kB / 0.6371 GB, free: 9.301 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.6616, allocations: 294.4 kB / 0.6374 GB, free: 9.012 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004657/0.6663, allocations: 1.625 MB / 0.639 GB, free: 7.387 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002411/0.6687, allocations: 0.8768 MB / 0.6398 GB, free: 6.516 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002514/0.6712, allocations: 1.707 MB / 0.6415 GB, free: 4.801 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009668/0.6722, allocations: 438.9 kB / 0.6419 GB, free: 4.371 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002697/0.6749, allocations: 0.8565 MB / 0.6427 GB, free: 3.512 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001434/0.6764, allocations: 0.5175 MB / 0.6432 GB, free: 2.992 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002155/0.6766, allocations: 52 kB / 0.6433 GB, free: 2.941 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003077/0.6797, allocations: 1.256 MB / 0.6445 GB, free: 1.684 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003551/0.6801, allocations: 183.4 kB / 0.6447 GB, free: 1.504 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007632/0.6808, allocations: 382.3 kB / 0.6451 GB, free: 1.129 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00324/0.6841, allocations: 1.636 MB / 0.6466 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.6841, allocations: 0 / 0.6466 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.6841, allocations: 0 / 0.6466 GB, free: 15.49 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.03e-05/0.6842, allocations: 0 / 0.6466 GB, free: 15.49 MB / 494.1 MB 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.002521/0.6867, allocations: 1.099 MB / 0.6477 GB, free: 14.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.6867, allocations: 12.03 kB / 0.6477 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.688, allocations: 155.2 kB / 0.6479 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007912/0.6888, allocations: 492.4 kB / 0.6484 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.6888, allocations: 29 kB / 0.6484 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.104e-05/0.6889, allocations: 44 kB / 0.6484 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.6901, allocations: 0.64 MB / 0.649 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.6901, allocations: 7.875 kB / 0.6491 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.519e-05/0.6902, allocations: 27.98 kB / 0.6491 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.6902, allocations: 12 kB / 0.6491 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009571/0.6912, allocations: 0.4918 MB / 0.6496 GB, free: 12.36 MB / 494.1 MB 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.003246/0.6945, allocations: 2.652 MB / 0.6522 GB, free: 9.516 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007347/0.6952, allocations: 330.2 kB / 0.6525 GB, free: 9.188 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002778/0.6955, allocations: 156.9 kB / 0.6526 GB, free: 9.031 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004546/0.696, allocations: 437.5 kB / 0.653 GB, free: 8.512 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.696, allocations: 42.56 kB / 0.6531 GB, free: 8.461 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 1.904e-06/0.696, allocations: 0 / 0.6531 GB, free: 8.461 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.001698/0.6977, allocations: 0.7023 MB / 0.6538 GB, free: 7.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.838e-05/0.6978, allocations: 166.2 kB / 0.6539 GB, free: 7.531 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006607/0.6985, allocations: 0.5184 MB / 0.6544 GB, free: 7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.358e-05/0.6986, allocations: 37.7 kB / 0.6545 GB, free: 6.957 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.6988, allocations: 299.5 kB / 0.6548 GB, free: 6.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.6989, allocations: 126.2 kB / 0.6549 GB, free: 6.535 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001981/0.6991, allocations: 118.1 kB / 0.655 GB, free: 6.414 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.6993, allocations: 366.8 kB / 0.6553 GB, free: 6.047 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/0.6996, allocations: 145 kB / 0.6555 GB, free: 5.902 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004166/0.7, allocations: 323 kB / 0.6558 GB, free: 5.512 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007617/0.7008, allocations: 469.8 kB / 0.6562 GB, free: 4.988 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.7008, allocations: 4 kB / 0.6562 GB, free: 4.984 MB / 494.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001116/0.7019, allocations: 0.5718 MB / 0.6568 GB, free: 4.402 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.702, allocations: 15.88 kB / 0.6568 GB, free: 4.387 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.702, allocations: 4 kB / 0.6568 GB, free: 4.383 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001587/0.7036, allocations: 236.6 kB / 0.657 GB, free: 4.148 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003996/0.704, allocations: 119.8 kB / 0.6572 GB, free: 4.031 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00044/0.7044, allocations: 0.5922 MB / 0.6577 GB, free: 3.414 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004192/0.7049, allocations: 59.42 kB / 0.6578 GB, free: 3.355 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.898e-05/0.705, allocations: 51.98 kB / 0.6578 GB, free: 3.305 MB / 494.1 MB 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.000292/0.7053, allocations: 197.6 kB / 0.658 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.7054, allocations: 55.34 kB / 0.6581 GB, free: 3.047 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002154/0.7076, allocations: 1.109 MB / 0.6592 GB, free: 1.922 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.7076, allocations: 4 kB / 0.6592 GB, free: 1.918 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.7077, allocations: 0 / 0.6592 GB, free: 1.918 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.7077, allocations: 0 / 0.6592 GB, free: 1.918 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/0.7093, allocations: 1.019 MB / 0.6602 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.7093, allocations: 0 / 0.6602 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/0.7096, allocations: 48.11 kB / 0.6602 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003438/0.713, allocations: 456.1 kB / 0.6606 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.543e-05/0.7131, allocations: 8 kB / 0.6607 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004904/0.7136, allocations: 0.5957 MB / 0.6612 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.7136, allocations: 4.031 kB / 0.6612 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000872/0.7145, allocations: 0.5006 MB / 0.6617 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002345/0.7147, allocations: 136.4 kB / 0.6619 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001812/0.7149, allocations: 23.83 kB / 0.6619 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004874/0.7154, allocations: 21.48 kB / 0.6619 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.36e-05/0.7155, allocations: 31.89 kB / 0.6619 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.428e-05/0.7155, allocations: 23.98 kB / 0.662 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006092/0.7162, allocations: 438.8 kB / 0.6624 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7162, allocations: 0 / 0.6624 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009856/0.7172, allocations: 291.8 kB / 0.6626 GB, free: 14.19 MB / 0.4981 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.001033/0.7182, allocations: 404.8 kB / 0.663 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009061/0.7191, allocations: 385.4 kB / 0.6634 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.7191, allocations: 0 / 0.6634 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003271/0.7195, allocations: 155.9 kB / 0.6636 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/0.7214, allocations: 404.5 kB / 0.6639 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.7232, allocations: 1.125 MB / 0.665 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/0.7237, allocations: 0.8637 MB / 0.6659 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001375/0.7251, allocations: 0.5772 MB / 0.6664 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003/0.7254, allocations: 95.38 kB / 0.6665 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of SimCode: time 7.22e-07/0.7254, allocations: 0 / 0.6665 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of Templates: time 0.02815/0.7535, allocations: 16.97 MB / 0.6831 GB, free: 9.332 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches