Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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.GenericResistances.VolumeFlowRate,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.GenericResistances.VolumeFlowRate") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,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.GenericResistances.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 206.3 kB / 16.79 MB, free: 6.84 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.508/1.508, allocations: 205.1 MB / 222.6 MB, free: 5.004 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3017/0.3017, allocations: 43.49 MB / 313.5 MB, free: 8.34 MB / 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.001346/0.001346, allocations: 63.91 kB / 382.1 MB, free: 8.805 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1267, allocations: 57.78 MB / 439.8 MB, free: 14.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.422/0.5488, allocations: 188.2 MB / 0.6133 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005333/0.5542, allocations: 2.232 MB / 0.6155 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.5553, allocations: 19.81 kB / 0.6155 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001291/0.5566, allocations: 250.6 kB / 0.6157 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004875/0.5616, allocations: 1.235 MB / 0.6169 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001938/0.5636, allocations: 0.6185 MB / 0.6175 GB, free: 11.64 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002257/0.5658, allocations: 1.964 MB / 0.6194 GB, free: 9.672 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005515/0.5664, allocations: 353.9 kB / 0.6198 GB, free: 9.328 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000902/0.5673, allocations: 0.5096 MB / 0.6203 GB, free: 8.816 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005739/0.5679, allocations: 454.1 kB / 0.6207 GB, free: 8.371 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.824e-05/0.568, allocations: 28 kB / 0.6207 GB, free: 8.344 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002186/0.5702, allocations: 0.8814 MB / 0.6216 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001738/0.5704, allocations: 139.4 kB / 0.6217 GB, free: 7.324 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003587/0.5707, allocations: 306.5 kB / 0.622 GB, free: 7.023 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001969/0.5727, allocations: 1.301 MB / 0.6233 GB, free: 5.719 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.5727, allocations: 3.984 kB / 0.6233 GB, free: 5.715 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.5727, allocations: 0 / 0.6233 GB, free: 5.715 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.5728, allocations: 0 / 0.6233 GB, free: 5.715 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.002049/0.5748, allocations: 1.025 MB / 0.6243 GB, free: 4.641 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.5749, allocations: 15.97 kB / 0.6243 GB, free: 4.625 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.5759, allocations: 131.2 kB / 0.6244 GB, free: 4.496 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006421/0.5765, allocations: 448.5 kB / 0.6249 GB, free: 4.016 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/0.5766, allocations: 33 kB / 0.6249 GB, free: 3.984 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.267e-05/0.5766, allocations: 44 kB / 0.6249 GB, free: 3.941 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009702/0.5776, allocations: 0.5511 MB / 0.6255 GB, free: 3.355 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.5777, allocations: 7.938 kB / 0.6255 GB, free: 3.348 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.538e-05/0.5777, allocations: 20.5 kB / 0.6255 GB, free: 3.328 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.5777, allocations: 12 kB / 0.6255 GB, free: 3.316 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008393/0.5786, allocations: 407.6 kB / 0.6259 GB, free: 2.918 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.00285/0.5814, allocations: 2.591 MB / 0.6284 GB, free: 112 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2452/0.8266, allocations: 281.7 kB / 0.6287 GB, free: 160.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002979/0.827, allocations: 150.9 kB / 0.6289 GB, free: 160.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001117/0.8281, allocations: 1.221 MB / 0.63 GB, free: 159.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.8281, allocations: 41.03 kB / 0.6301 GB, free: 159.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 2.184e-06/0.8281, allocations: 1.156 kB / 0.6301 GB, free: 159.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=29): time 0.002518/0.8307, allocations: 0.6972 MB / 0.6308 GB, free: 159.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.8307, allocations: 138.5 kB / 0.6309 GB, free: 158.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005112/0.8312, allocations: 451.1 kB / 0.6313 GB, free: 158.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.08e-05/0.8313, allocations: 36.48 kB / 0.6314 GB, free: 158.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.8315, allocations: 276 kB / 0.6316 GB, free: 158.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.704e-05/0.8316, allocations: 105.6 kB / 0.6317 GB, free: 158.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/0.8318, allocations: 107 kB / 0.6318 GB, free: 158.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.8319, allocations: 353.5 kB / 0.6322 GB, free: 158.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003691/0.8323, allocations: 143.3 kB / 0.6323 GB, free: 158.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004367/0.8327, allocations: 278.5 kB / 0.6326 GB, free: 158.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007418/0.8335, allocations: 414.1 kB / 0.633 GB, free: 158.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.8335, allocations: 3.875 kB / 0.633 GB, free: 158.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001152/0.8347, allocations: 0.5251 MB / 0.6335 GB, free: 158 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.8347, allocations: 5.781 kB / 0.6335 GB, free: 158 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.8347, allocations: 2.875 kB / 0.6335 GB, free: 158 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002096/0.8368, allocations: 271.9 kB / 0.6338 GB, free: 158 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004243/0.8373, allocations: 102.5 kB / 0.6338 GB, free: 158 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008946/0.8382, allocations: 0.6047 MB / 0.6344 GB, free: 157.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005495/0.8387, allocations: 59.77 kB / 0.6345 GB, free: 157.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.327e-05/0.8388, allocations: 49.38 kB / 0.6345 GB, free: 157.4 MB / 494.1 MB 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 (41): * Single equations (assignments): 40 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003137/0.8391, allocations: 186.5 kB / 0.6347 GB, free: 157.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.8393, allocations: 51.31 kB / 0.6348 GB, free: 157.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001665/0.8409, allocations: 0.6636 MB / 0.6354 GB, free: 157.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.841, allocations: 5.438 kB / 0.6354 GB, free: 157.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.841, allocations: 1.531 kB / 0.6354 GB, free: 157.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.841, allocations: 0 / 0.6354 GB, free: 157.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/0.8426, allocations: 0.9816 MB / 0.6364 GB, free: 156.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.8426, allocations: 3.234 kB / 0.6364 GB, free: 156.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.8428, allocations: 47.44 kB / 0.6364 GB, free: 156.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00209/0.8449, allocations: 289.1 kB / 0.6367 GB, free: 156.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.781e-05/0.845, allocations: 13.36 kB / 0.6367 GB, free: 156.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008405/0.8458, allocations: 0.6083 MB / 0.6373 GB, free: 156 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.8458, allocations: 5 kB / 0.6373 GB, free: 156 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.8471, allocations: 0.4975 MB / 0.6378 GB, free: 155.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.8472, allocations: 133 kB / 0.6379 GB, free: 155.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.8473, allocations: 20.69 kB / 0.638 GB, free: 155.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004295/0.8478, allocations: 30.2 kB / 0.638 GB, free: 155.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.8479, allocations: 25.28 kB / 0.638 GB, free: 155.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.353e-05/0.848, allocations: 21.3 kB / 0.638 GB, free: 155.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004684/0.8484, allocations: 391.8 kB / 0.6384 GB, free: 155.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8484, allocations: 0 / 0.6384 GB, free: 155.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009329/0.8494, allocations: 257.7 kB / 0.6386 GB, free: 155.3 MB / 494.1 MB 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 (23): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.0008739/0.8503, allocations: 369.3 kB / 0.639 GB, free: 155.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001372/0.8516, allocations: 370.7 kB / 0.6393 GB, free: 155.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.8517, allocations: 0 / 0.6393 GB, free: 155.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007159/0.8524, allocations: 155.8 kB / 0.6395 GB, free: 155.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.8539, allocations: 329 kB / 0.6398 GB, free: 155 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.856, allocations: 1.07 MB / 0.6409 GB, free: 154.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.8562, allocations: 0.8496 MB / 0.6417 GB, free: 153.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008922/0.8571, allocations: 192.6 kB / 0.6419 GB, free: 153.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002399/0.8574, allocations: 78.97 kB / 0.6419 GB, free: 153.6 MB / 494.1 MB Notification: Performance of SimCode: time 1.433e-06/0.8574, allocations: 4 kB / 0.6419 GB, free: 153.6 MB / 494.1 MB Notification: Performance of Templates: time 0.02981/0.8872, allocations: 14.46 MB / 0.6561 GB, free: 152.5 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches