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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007717/0.0007716, allocations: 103.3 kB / 16.02 MB, free: 76 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.0008338/0.0008338, allocations: 186.7 kB / 16.92 MB, free: 6.914 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.241/1.241, allocations: 205.4 MB / 223.1 MB, free: 5.52 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.2925/0.2925, allocations: 43.58 MB / 315 MB, free: 8.758 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.0004774/0.0004774, allocations: 16 kB / 384.7 MB, free: 7.523 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09377/0.09425, allocations: 58.86 MB / 443.6 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.3307/0.425, allocations: 185.6 MB / 0.6144 GB, free: 1.453 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003324/0.4283, allocations: 2.207 MB / 0.6166 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002526/0.4286, allocations: 23.81 kB / 0.6166 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006016/0.4292, allocations: 250.6 kB / 0.6169 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002642/0.4319, allocations: 1.226 MB / 0.6181 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.4331, allocations: 0.6166 MB / 0.6187 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001599/0.4347, allocations: 1.972 MB / 0.6206 GB, free: 11.16 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000422/0.4351, allocations: 361.8 kB / 0.6209 GB, free: 10.81 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005974/0.4357, allocations: 0.498 MB / 0.6214 GB, free: 10.31 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004499/0.4362, allocations: 450.1 kB / 0.6219 GB, free: 9.871 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.137e-05/0.4363, allocations: 24 kB / 0.6219 GB, free: 9.848 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.4375, allocations: 0.8736 MB / 0.6227 GB, free: 8.973 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.4377, allocations: 131.5 kB / 0.6229 GB, free: 8.844 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002652/0.4379, allocations: 332.2 kB / 0.6232 GB, free: 8.512 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.4392, allocations: 1.289 MB / 0.6244 GB, free: 7.219 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.4392, allocations: 3.938 kB / 0.6244 GB, free: 7.215 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.4392, allocations: 4 kB / 0.6244 GB, free: 7.211 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.4392, allocations: 0 / 0.6244 GB, free: 7.211 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.001369/0.4406, allocations: 0.8899 MB / 0.6253 GB, free: 6.273 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.4407, allocations: 12.03 kB / 0.6253 GB, free: 6.262 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.549e-05/0.4408, allocations: 78.53 kB / 0.6254 GB, free: 6.176 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000909/0.4417, allocations: 131.3 kB / 0.6255 GB, free: 6.047 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005277/0.4422, allocations: 452.5 kB / 0.6259 GB, free: 5.562 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.4423, allocations: 29 kB / 0.626 GB, free: 5.535 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.735e-05/0.4423, allocations: 36 kB / 0.626 GB, free: 5.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009041/0.4432, allocations: 0.5672 MB / 0.6266 GB, free: 4.895 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.4433, allocations: 11.88 kB / 0.6266 GB, free: 4.883 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.244e-05/0.4433, allocations: 16 kB / 0.6266 GB, free: 4.867 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.4433, allocations: 15.98 kB / 0.6266 GB, free: 4.852 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007804/0.4441, allocations: 411.6 kB / 0.627 GB, free: 4.449 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.002421/0.4465, allocations: 2.599 MB / 0.6295 GB, free: 1.633 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005537/0.4471, allocations: 290.8 kB / 0.6298 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.4474, allocations: 158 kB / 0.63 GB, free: 1.184 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2094/0.6568, allocations: 1.224 MB / 0.6312 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.6569, allocations: 37.67 kB / 0.6312 GB, free: 12.72 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 1.853e-06/0.6569, allocations: 0 / 0.6312 GB, free: 12.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=29): time 0.002526/0.6594, allocations: 0.7176 MB / 0.6319 GB, free: 12.59 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.6595, allocations: 138.4 kB / 0.632 GB, free: 12.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004577/0.6599, allocations: 449.7 kB / 0.6325 GB, free: 12.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.265e-05/0.66, allocations: 32.86 kB / 0.6325 GB, free: 12.29 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.6601, allocations: 270.5 kB / 0.6327 GB, free: 12.17 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.829e-05/0.6602, allocations: 104.6 kB / 0.6328 GB, free: 12.11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.073e-05/0.6603, allocations: 36.78 kB / 0.6329 GB, free: 12.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.665e-05/0.6604, allocations: 362.5 kB / 0.6332 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000358/0.6607, allocations: 148 kB / 0.6334 GB, free: 11.78 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000378/0.6611, allocations: 278.1 kB / 0.6336 GB, free: 11.63 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007194/0.6618, allocations: 435.7 kB / 0.634 GB, free: 11.51 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.6619, allocations: 2.375 kB / 0.6341 GB, free: 11.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001018/0.6629, allocations: 0.5267 MB / 0.6346 GB, free: 11.44 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.6629, allocations: 7.938 kB / 0.6346 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.403e-06/0.6629, allocations: 4.062 kB / 0.6346 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001943/0.6649, allocations: 317 kB / 0.6349 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003495/0.6652, allocations: 111.8 kB / 0.635 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007305/0.666, allocations: 0.6018 MB / 0.6356 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004102/0.6664, allocations: 68.22 kB / 0.6356 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.174e-05/0.6665, allocations: 49.75 kB / 0.6357 GB, free: 10.87 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.0001803/0.6667, allocations: 176.2 kB / 0.6359 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.415e-05/0.6667, allocations: 55.89 kB / 0.6359 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/0.6683, allocations: 0.6786 MB / 0.6366 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.6683, allocations: 2.5 kB / 0.6366 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.6683, allocations: 0 / 0.6366 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.6683, allocations: 0 / 0.6366 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/0.6697, allocations: 0.9831 MB / 0.6375 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.6697, allocations: 3.031 kB / 0.6375 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/0.6699, allocations: 52.91 kB / 0.6376 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002026/0.6719, allocations: 346.1 kB / 0.6379 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.672, allocations: 14.59 kB / 0.6379 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006831/0.6727, allocations: 0.6051 MB / 0.6385 GB, free: 9.676 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.6727, allocations: 3.766 kB / 0.6385 GB, free: 9.676 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.6737, allocations: 0.5195 MB / 0.639 GB, free: 9.461 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.6739, allocations: 159.1 kB / 0.6392 GB, free: 9.332 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.848e-05/0.6739, allocations: 7.656 kB / 0.6392 GB, free: 9.332 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004112/0.6744, allocations: 38.19 kB / 0.6392 GB, free: 9.328 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/0.6744, allocations: 31.06 kB / 0.6393 GB, free: 9.324 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.979e-05/0.6745, allocations: 19.25 kB / 0.6393 GB, free: 9.324 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003583/0.6748, allocations: 389.4 kB / 0.6396 GB, free: 9.238 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6748, allocations: 0 / 0.6396 GB, free: 9.238 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006929/0.6755, allocations: 259.9 kB / 0.6399 GB, free: 9.227 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.001819/0.6774, allocations: 1.315 MB / 0.6412 GB, free: 8.469 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001166/0.6785, allocations: 381.1 kB / 0.6415 GB, free: 8.457 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.6786, allocations: 6.562 kB / 0.6415 GB, free: 8.453 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006791/0.6792, allocations: 169.6 kB / 0.6417 GB, free: 8.449 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/0.6809, allocations: 336.7 kB / 0.642 GB, free: 8.426 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00607/0.687, allocations: 5.034 MB / 0.6469 GB, free: 6.262 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.6872, allocations: 0.8452 MB / 0.6478 GB, free: 5.559 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007453/0.6879, allocations: 192.4 kB / 0.648 GB, free: 5.504 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002974/0.6882, allocations: 207.6 kB / 0.6482 GB, free: 5.492 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.6883, allocations: 4 kB / 0.6482 GB, free: 5.488 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7284/1.417, allocations: 19.32 MB / 0.667 GB, free: 1.547 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001573/1.417, allocations: 315.3 kB / 0.6673 GB, free: 1.164 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.246/3.663, allocations: 3.938 kB / 0.6673 GB, free: 1.16 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > 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/jenkins1/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