Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009949/0.0009949, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003427/0.003427, allocations: 152.9 kB / 24.69 MB, free: 8.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8715/0.8715, allocations: 177 MB / 204.9 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2469/0.2469, allocations: 34.24 MB / 295.6 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] 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.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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 443.4 MB, free: 1.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.071e-05/3.259e-05, allocations: 4.531 kB / 443.4 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.351/0.351, allocations: 161.6 MB / 0.5909 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003826/0.3548, allocations: 3.045 MB / 0.5938 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003243/0.3552, allocations: 19.81 kB / 0.5939 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006193/0.3558, allocations: 317.7 kB / 0.5942 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002382/0.3582, allocations: 1.467 MB / 0.5956 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.3593, allocations: 0.7566 MB / 0.5963 GB, free: 8.945 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001332/0.3606, allocations: 1.59 MB / 0.5979 GB, free: 7.352 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000413/0.3611, allocations: 353 kB / 0.5982 GB, free: 7.004 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007046/0.3618, allocations: 0.8026 MB / 0.599 GB, free: 6.199 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003534/0.3621, allocations: 414.8 kB / 0.5994 GB, free: 5.793 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.729e-05/0.3622, allocations: 52 kB / 0.5995 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.3633, allocations: 0.9123 MB / 0.6003 GB, free: 4.828 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.3634, allocations: 167.3 kB / 0.6005 GB, free: 4.664 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001708/0.3636, allocations: 251.5 kB / 0.6007 GB, free: 4.418 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.3649, allocations: 1.546 MB / 0.6023 GB, free: 2.867 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.3649, allocations: 0 / 0.6023 GB, free: 2.867 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3649, allocations: 4 kB / 0.6023 GB, free: 2.863 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.3649, allocations: 0 / 0.6023 GB, free: 2.863 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.00107/0.366, allocations: 0.9944 MB / 0.6032 GB, free: 1.836 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.366, allocations: 8.625 kB / 0.6032 GB, free: 1.828 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004805/0.3665, allocations: 143.5 kB / 0.6034 GB, free: 1.688 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005003/0.367, allocations: 441.5 kB / 0.6038 GB, free: 1.227 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.367, allocations: 37 kB / 0.6038 GB, free: 1.191 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.09e-05/0.367, allocations: 40 kB / 0.6039 GB, free: 1.152 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007164/0.3678, allocations: 0.9034 MB / 0.6048 GB, free: 144 kB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3678, allocations: 0 / 0.6048 GB, free: 144 kB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.649e-05/0.3678, allocations: 24 kB / 0.6048 GB, free: 120 kB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.3678, allocations: 8 kB / 0.6048 GB, free: 112 kB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005525/0.3684, allocations: 479.6 kB / 0.6052 GB, free: 15.64 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.001508/0.3699, allocations: 1.889 MB / 0.6071 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004298/0.3703, allocations: 323.5 kB / 0.6074 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.3705, allocations: 161.3 kB / 0.6075 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/0.3706, allocations: 48.25 kB / 0.6076 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.3706, allocations: 41.53 kB / 0.6076 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 1.273e-06/0.3706, allocations: 0 / 0.6076 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.0009515/0.3716, allocations: 0.6586 MB / 0.6083 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.3716, allocations: 136.5 kB / 0.6084 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003127/0.3719, allocations: 425.9 kB / 0.6088 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.372, allocations: 33.7 kB / 0.6088 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.3721, allocations: 292.3 kB / 0.6091 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.589e-05/0.3722, allocations: 123 kB / 0.6092 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.3723, allocations: 106.1 kB / 0.6093 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.846e-05/0.3724, allocations: 358.8 kB / 0.6097 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.3726, allocations: 148.9 kB / 0.6098 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002705/0.3728, allocations: 361.4 kB / 0.6102 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004427/0.3733, allocations: 437.6 kB / 0.6106 GB, free: 9.887 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3733, allocations: 7.938 kB / 0.6106 GB, free: 9.879 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005804/0.3738, allocations: 0.5368 MB / 0.6111 GB, free: 9.332 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.3739, allocations: 8 kB / 0.6111 GB, free: 9.324 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.3739, allocations: 4 kB / 0.6111 GB, free: 9.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000711/0.3746, allocations: 249 kB / 0.6114 GB, free: 9.074 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.3748, allocations: 111.8 kB / 0.6115 GB, free: 8.965 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003082/0.3751, allocations: 0.5915 MB / 0.6121 GB, free: 8.348 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.3752, allocations: 39.73 kB / 0.6121 GB, free: 8.309 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.67e-05/0.3753, allocations: 47.98 kB / 0.6121 GB, free: 8.262 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.0001506/0.3754, allocations: 177.8 kB / 0.6123 GB, free: 8.078 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.426e-05/0.3755, allocations: 59.64 kB / 0.6124 GB, free: 8.02 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.3766, allocations: 1.1 MB / 0.6134 GB, free: 6.918 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3766, allocations: 4 kB / 0.6134 GB, free: 6.914 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3766, allocations: 0 / 0.6134 GB, free: 6.914 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.3766, allocations: 0 / 0.6134 GB, free: 6.914 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000813/0.3774, allocations: 0.8699 MB / 0.6143 GB, free: 5.988 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3774, allocations: 160 / 0.6143 GB, free: 5.988 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.3775, allocations: 60.47 kB / 0.6144 GB, free: 5.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001337/0.3788, allocations: 444.2 kB / 0.6148 GB, free: 5.492 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/0.3789, allocations: 10.38 kB / 0.6148 GB, free: 5.484 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002844/0.3791, allocations: 0.6069 MB / 0.6154 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.3791, allocations: 8.016 kB / 0.6154 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004691/0.3796, allocations: 0.4963 MB / 0.6159 GB, free: 4.312 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-05/0.3797, allocations: 55.64 kB / 0.6159 GB, free: 4.258 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.428e-05/0.3797, allocations: 19.89 kB / 0.6159 GB, free: 4.238 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.3798, allocations: 15.98 kB / 0.616 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.3799, allocations: 23.95 kB / 0.616 GB, free: 4.199 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.3799, allocations: 15.98 kB / 0.616 GB, free: 4.184 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000253/0.3802, allocations: 343.1 kB / 0.6163 GB, free: 3.852 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3802, allocations: 0 / 0.6163 GB, free: 3.852 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005303/0.3807, allocations: 291.3 kB / 0.6166 GB, free: 3.566 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.0005516/0.3812, allocations: 386.3 kB / 0.617 GB, free: 3.176 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005614/0.3818, allocations: 360.1 kB / 0.6173 GB, free: 2.824 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.3818, allocations: 7.938 kB / 0.6173 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.382, allocations: 151.8 kB / 0.6175 GB, free: 2.668 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007821/0.3828, allocations: 299.3 kB / 0.6177 GB, free: 2.402 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.3839, allocations: 0.8962 MB / 0.6186 GB, free: 1.461 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/0.3841, allocations: 255.1 kB / 0.6189 GB, free: 1.18 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002301/0.3843, allocations: 124.4 kB / 0.619 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of SimCode: time 9.51e-07/0.3843, allocations: 0 / 0.619 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of Templates: time 0.01103/0.3953, allocations: 14.14 MB / 0.6328 GB, free: 2.98 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.448568549007177]