Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.001137/0.001137, allocations: 189.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1954/0.1954, allocations: 43.52 MB / 314.1 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 75.89 kB / 441.8 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1106, allocations: 57.78 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4594/0.5701, allocations: 190 MB / 0.6735 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01006/0.5803, allocations: 5.706 MB / 0.679 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009166/0.5812, allocations: 15.88 kB / 0.679 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.5824, allocations: 321.8 kB / 0.6794 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004878/0.5873, allocations: 1.637 MB / 0.6809 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00212/0.5894, allocations: 0.7263 MB / 0.6817 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002338/0.5918, allocations: 1.544 MB / 0.6832 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006265/0.5924, allocations: 427.5 kB / 0.6836 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008835/0.5933, allocations: 0.5799 MB / 0.6841 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005503/0.5939, allocations: 470.1 kB / 0.6846 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.677e-05/0.594, allocations: 48 kB / 0.6846 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00291/0.5969, allocations: 1.409 MB / 0.686 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001826/0.5971, allocations: 151.5 kB / 0.6862 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003594/0.5975, allocations: 350.5 kB / 0.6865 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002401/0.5999, allocations: 1.632 MB / 0.6881 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.5999, allocations: 0 / 0.6881 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5999, allocations: 0 / 0.6881 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.616e-05/0.5999, allocations: 0 / 0.6881 GB, free: 13.38 MB / 0.5294 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.001987/0.6019, allocations: 1.116 MB / 0.6892 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 7.22e-05/0.602, allocations: 12.03 kB / 0.6892 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009897/0.603, allocations: 139.5 kB / 0.6893 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007426/0.6038, allocations: 0.5007 MB / 0.6898 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.366e-05/0.6038, allocations: 37.56 kB / 0.6898 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.94e-05/0.6039, allocations: 36 kB / 0.6899 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.605, allocations: 0.5906 MB / 0.6905 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.605, allocations: 11.92 kB / 0.6905 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.601e-05/0.6051, allocations: 16 kB / 0.6905 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.6051, allocations: 12 kB / 0.6905 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009417/0.606, allocations: 475.6 kB / 0.6909 GB, free: 10.33 MB / 0.5294 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.003127/0.6092, allocations: 2.706 MB / 0.6936 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007503/0.6099, allocations: 350.1 kB / 0.6939 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003047/0.6102, allocations: 165.3 kB / 0.6941 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001221/0.6115, allocations: 1.316 MB / 0.6954 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.6115, allocations: 34.84 kB / 0.6954 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 1.823e-06/0.6115, allocations: 0 / 0.6954 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.001725/0.6133, allocations: 0.7339 MB / 0.6961 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.252e-05/0.6134, allocations: 136.5 kB / 0.6962 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005642/0.6139, allocations: 490.1 kB / 0.6967 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/0.614, allocations: 29.7 kB / 0.6967 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.6142, allocations: 296.2 kB / 0.697 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.855e-05/0.6143, allocations: 115 kB / 0.6971 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.6144, allocations: 102.1 kB / 0.6972 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.6146, allocations: 366.8 kB / 0.6976 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003106/0.6149, allocations: 148.8 kB / 0.6977 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004001/0.6153, allocations: 275.7 kB / 0.698 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007311/0.6161, allocations: 449.5 kB / 0.6984 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.6161, allocations: 0 / 0.6984 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001012/0.6171, allocations: 0.5407 MB / 0.6989 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.6171, allocations: 7.938 kB / 0.6989 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.6171, allocations: 4 kB / 0.699 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001533/0.6187, allocations: 241 kB / 0.6992 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000339/0.619, allocations: 99.89 kB / 0.6993 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004915/0.6195, allocations: 0.5992 MB / 0.6999 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003091/0.6199, allocations: 51.62 kB / 0.6999 GB, free: 468 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.766e-05/0.62, allocations: 43.98 kB / 0.7 GB, free: 424 kB / 0.5294 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.0002544/0.6202, allocations: 193.5 kB / 0.7001 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.6203, allocations: 55.67 kB / 0.7002 GB, free: 164 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.6219, allocations: 0.7274 MB / 0.7009 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.6219, allocations: 4 kB / 0.7009 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.6219, allocations: 0 / 0.7009 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.6219, allocations: 7.922 kB / 0.7009 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.6234, allocations: 1.042 MB / 0.7019 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.6234, allocations: 3.938 kB / 0.7019 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/0.6236, allocations: 48.12 kB / 0.702 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002977/0.6266, allocations: 452.1 kB / 0.7024 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/0.6267, allocations: 11.98 kB / 0.7024 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004381/0.6271, allocations: 0.607 MB / 0.703 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.6271, allocations: 4.031 kB / 0.703 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008638/0.628, allocations: 0.5121 MB / 0.7035 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/0.6282, allocations: 144.6 kB / 0.7037 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.88e-05/0.6283, allocations: 12 kB / 0.7037 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003074/0.6286, allocations: 19.98 kB / 0.7037 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.752e-05/0.6287, allocations: 27.91 kB / 0.7037 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.361e-05/0.6287, allocations: 19.92 kB / 0.7037 GB, free: 12.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005317/0.6292, allocations: 422.8 kB / 0.7041 GB, free: 11.93 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6292, allocations: 0 / 0.7041 GB, free: 11.93 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001039/0.6303, allocations: 327.1 kB / 0.7044 GB, free: 11.61 MB / 0.545 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.001145/0.6314, allocations: 454.8 kB / 0.7049 GB, free: 11.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009245/0.6324, allocations: 384.4 kB / 0.7052 GB, free: 10.79 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.6324, allocations: 4.062 kB / 0.7053 GB, free: 10.78 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003661/0.6328, allocations: 167.8 kB / 0.7054 GB, free: 10.62 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/0.6344, allocations: 357.5 kB / 0.7058 GB, free: 10.27 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.636, allocations: 0.9114 MB / 0.7066 GB, free: 9.316 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004727/0.6365, allocations: 0.8596 MB / 0.7075 GB, free: 8.426 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000748/0.6373, allocations: 209 kB / 0.7077 GB, free: 8.223 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.6375, allocations: 75.42 kB / 0.7078 GB, free: 8.152 MB / 0.545 GB Notification: Performance of SimCode: time 5.51e-07/0.6375, allocations: 0 / 0.7078 GB, free: 8.152 MB / 0.545 GB Notification: Performance of Templates: time 0.03055/0.668, allocations: 16.88 MB / 0.7242 GB, free: 7.285 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches