Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008906/0.0008906, allocations: 83.62 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004227/0.004227, allocations: 157.2 kB / 24.7 MB, free: 8.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8898/0.8898, allocations: 177.1 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2193/0.2193, allocations: 34.25 MB / 295.7 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 443.5 MB, free: 1.137 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.598e-05/2.824e-05, allocations: 2.281 kB / 443.5 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.3093/0.3094, allocations: 161.6 MB / 0.5909 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003975/0.3133, allocations: 3.034 MB / 0.5939 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003442/0.3137, allocations: 19.81 kB / 0.5939 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007616/0.3144, allocations: 321.7 kB / 0.5942 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002535/0.317, allocations: 1.468 MB / 0.5956 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.3181, allocations: 0.7513 MB / 0.5963 GB, free: 9.02 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.00113/0.3193, allocations: 1.594 MB / 0.5979 GB, free: 7.422 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003701/0.3196, allocations: 352.5 kB / 0.5982 GB, free: 7.074 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006515/0.3203, allocations: 0.7948 MB / 0.599 GB, free: 6.277 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003608/0.3207, allocations: 418.8 kB / 0.5994 GB, free: 5.867 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.829e-05/0.3207, allocations: 52 kB / 0.5995 GB, free: 5.816 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.3217, allocations: 0.9162 MB / 0.6004 GB, free: 4.898 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.3219, allocations: 170.8 kB / 0.6005 GB, free: 4.734 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.322, allocations: 251.5 kB / 0.6008 GB, free: 4.488 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.3233, allocations: 1.546 MB / 0.6023 GB, free: 2.938 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.3233, allocations: 4 kB / 0.6023 GB, free: 2.934 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3233, allocations: 0 / 0.6023 GB, free: 2.934 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.3233, allocations: 0 / 0.6023 GB, free: 2.934 MB / 0.4948 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.001186/0.3245, allocations: 0.9944 MB / 0.6032 GB, free: 1.906 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.3246, allocations: 8.031 kB / 0.6033 GB, free: 1.898 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005093/0.3251, allocations: 147.5 kB / 0.6034 GB, free: 1.754 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005488/0.3256, allocations: 434 kB / 0.6038 GB, free: 1.301 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.3256, allocations: 41 kB / 0.6038 GB, free: 1.262 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.176e-05/0.3257, allocations: 38.94 kB / 0.6039 GB, free: 1.227 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007673/0.3264, allocations: 0.8996 MB / 0.6048 GB, free: 220 kB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.3265, allocations: 3.938 kB / 0.6048 GB, free: 216 kB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.23e-05/0.3265, allocations: 27.98 kB / 0.6048 GB, free: 188 kB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/0.3265, allocations: 12 kB / 0.6048 GB, free: 176 kB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005739/0.3271, allocations: 479.7 kB / 0.6053 GB, free: 15.7 MB / 0.5105 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.001607/0.3287, allocations: 1.882 MB / 0.6071 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004438/0.3291, allocations: 328.6 kB / 0.6074 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.3293, allocations: 157.3 kB / 0.6076 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001339/0.3294, allocations: 48.25 kB / 0.6076 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.3295, allocations: 46.81 kB / 0.6077 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 1.904e-06/0.3295, allocations: 0 / 0.6077 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.0009967/0.3305, allocations: 0.6524 MB / 0.6083 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.3305, allocations: 140.5 kB / 0.6084 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003197/0.3308, allocations: 429.8 kB / 0.6088 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.3309, allocations: 29.7 kB / 0.6089 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.331, allocations: 296.3 kB / 0.6091 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.507e-05/0.3311, allocations: 118.9 kB / 0.6093 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.3312, allocations: 102.1 kB / 0.6094 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.3313, allocations: 362.8 kB / 0.6097 GB, free: 11 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/0.3315, allocations: 148.9 kB / 0.6098 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/0.3317, allocations: 357.5 kB / 0.6102 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004358/0.3322, allocations: 440.7 kB / 0.6106 GB, free: 9.957 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3322, allocations: 0 / 0.6106 GB, free: 9.957 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005963/0.3328, allocations: 0.5419 MB / 0.6111 GB, free: 9.406 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.3328, allocations: 7.938 kB / 0.6111 GB, free: 9.398 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3328, allocations: 4 kB / 0.6111 GB, free: 9.395 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007205/0.3335, allocations: 245 kB / 0.6114 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.3337, allocations: 111.8 kB / 0.6115 GB, free: 9.043 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003208/0.334, allocations: 0.5953 MB / 0.6121 GB, free: 8.422 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.3342, allocations: 43.72 kB / 0.6121 GB, free: 8.379 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.68e-05/0.3342, allocations: 44 kB / 0.6122 GB, free: 8.336 MB / 0.5105 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.0001581/0.3344, allocations: 182.8 kB / 0.6123 GB, free: 8.148 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.292e-05/0.3344, allocations: 55.64 kB / 0.6124 GB, free: 8.094 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.3355, allocations: 1.103 MB / 0.6135 GB, free: 6.988 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3356, allocations: 4 kB / 0.6135 GB, free: 6.984 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3356, allocations: 0 / 0.6135 GB, free: 6.984 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3356, allocations: 3.984 kB / 0.6135 GB, free: 6.98 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000812/0.3364, allocations: 0.8699 MB / 0.6143 GB, free: 6.055 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3364, allocations: 4.156 kB / 0.6143 GB, free: 6.051 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.3365, allocations: 55.91 kB / 0.6144 GB, free: 5.996 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001335/0.3378, allocations: 440.2 kB / 0.6148 GB, free: 5.562 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.3378, allocations: 11.98 kB / 0.6148 GB, free: 5.551 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002828/0.3381, allocations: 0.6078 MB / 0.6154 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.3381, allocations: 4.031 kB / 0.6154 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004597/0.3386, allocations: 0.4964 MB / 0.6159 GB, free: 4.383 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.282e-05/0.3386, allocations: 59.52 kB / 0.6159 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.517e-05/0.3387, allocations: 15.89 kB / 0.616 GB, free: 4.309 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.3388, allocations: 17.86 kB / 0.616 GB, free: 4.293 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.3389, allocations: 27.91 kB / 0.616 GB, free: 4.266 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.3389, allocations: 15.98 kB / 0.616 GB, free: 4.25 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002449/0.3391, allocations: 339.1 kB / 0.6163 GB, free: 3.918 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3391, allocations: 0 / 0.6163 GB, free: 3.918 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004911/0.3396, allocations: 295.2 kB / 0.6166 GB, free: 3.629 MB / 0.5105 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.0005213/0.3401, allocations: 390.3 kB / 0.617 GB, free: 3.234 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005334/0.3407, allocations: 367.8 kB / 0.6173 GB, free: 2.875 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3407, allocations: 0 / 0.6173 GB, free: 2.875 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001957/0.3409, allocations: 153 kB / 0.6175 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00072/0.3416, allocations: 287 kB / 0.6178 GB, free: 2.473 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009224/0.3425, allocations: 0.8905 MB / 0.6186 GB, free: 1.535 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.3427, allocations: 259.1 kB / 0.6189 GB, free: 1.25 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002077/0.3429, allocations: 128.4 kB / 0.619 GB, free: 1.125 MB / 0.5105 GB Notification: Performance of SimCode: time 7.72e-07/0.3429, allocations: 0 / 0.619 GB, free: 1.125 MB / 0.5105 GB Notification: Performance of Templates: time 0.01077/0.3537, allocations: 14.15 MB / 0.6328 GB, free: 3.031 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.011206631548703]