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.001554/0.001554, allocations: 105.7 kB / 16.27 MB, free: 6.008 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.00178/0.00178, allocations: 186 kB / 17.19 MB, free: 5.629 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.244/1.244, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.1848/0.1848, allocations: 43.52 MB / 313.9 MB, free: 0.5391 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.001383/0.001383, allocations: 69.22 kB / 382.8 MB, free: 56.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08398/0.08537, allocations: 57.78 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.3203/0.4057, allocations: 189.8 MB / 0.6156 GB, free: 2.473 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003357/0.4091, allocations: 2.125 MB / 0.6177 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002723/0.4094, allocations: 14.72 kB / 0.6177 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007215/0.4101, allocations: 306.9 kB / 0.618 GB, free: 488 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002713/0.4129, allocations: 1.4 MB / 0.6194 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.4142, allocations: 0.682 MB / 0.6201 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001155/0.4154, allocations: 1.471 MB / 0.6215 GB, free: 14.13 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004356/0.4159, allocations: 414 kB / 0.6219 GB, free: 13.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005637/0.4164, allocations: 0.5642 MB / 0.6224 GB, free: 13.56 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000399/0.4168, allocations: 441.6 kB / 0.6229 GB, free: 13.31 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.628e-05/0.4169, allocations: 47.91 kB / 0.6229 GB, free: 13.31 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001271/0.4182, allocations: 0.9064 MB / 0.6238 GB, free: 12.87 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.4183, allocations: 154.6 kB / 0.6239 GB, free: 12.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002639/0.4186, allocations: 327 kB / 0.6243 GB, free: 12.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001286/0.4199, allocations: 1.312 MB / 0.6255 GB, free: 11.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.4199, allocations: 0 / 0.6255 GB, free: 11.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.4199, allocations: 0 / 0.6255 GB, free: 11.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.4199, allocations: 4 kB / 0.6255 GB, free: 11.41 MB / 446.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.00145/0.4214, allocations: 1.029 MB / 0.6265 GB, free: 10.33 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.4214, allocations: 15.89 kB / 0.6266 GB, free: 10.32 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.464e-05/0.4215, allocations: 78.52 kB / 0.6266 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008959/0.4224, allocations: 139.2 kB / 0.6268 GB, free: 10.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005097/0.423, allocations: 456.5 kB / 0.6272 GB, free: 9.605 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.423, allocations: 34.12 kB / 0.6272 GB, free: 9.574 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.637e-05/0.4231, allocations: 44 kB / 0.6273 GB, free: 9.531 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008648/0.4239, allocations: 0.5477 MB / 0.6278 GB, free: 8.949 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.4239, allocations: 7.875 kB / 0.6278 GB, free: 8.941 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.028e-05/0.424, allocations: 16 kB / 0.6278 GB, free: 8.926 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.424, allocations: 12 kB / 0.6278 GB, free: 8.914 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000741/0.4248, allocations: 407.6 kB / 0.6282 GB, free: 8.516 MB / 446.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.002415/0.4272, allocations: 2.592 MB / 0.6308 GB, free: 5.703 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005681/0.4278, allocations: 292 kB / 0.631 GB, free: 5.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002568/0.428, allocations: 144.8 kB / 0.6312 GB, free: 5.266 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001027/0.4291, allocations: 1.221 MB / 0.6324 GB, free: 3.844 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.4291, allocations: 42.55 kB / 0.6324 GB, free: 3.793 MB / 446.1 MB Notification: Performance of pre-optimization done (n=29): time 1.613e-06/0.4291, allocations: 0 / 0.6324 GB, free: 3.793 MB / 446.1 MB Notification: Performance of matching and sorting (n=29): time 0.002173/0.4313, allocations: 0.7033 MB / 0.6331 GB, free: 3.062 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.4314, allocations: 136.5 kB / 0.6332 GB, free: 2.898 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004212/0.4318, allocations: 449.9 kB / 0.6337 GB, free: 2.445 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.4318, allocations: 29.7 kB / 0.6337 GB, free: 2.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.432, allocations: 275.8 kB / 0.6339 GB, free: 2.137 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.977e-05/0.4321, allocations: 102.5 kB / 0.634 GB, free: 2.035 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.4322, allocations: 105.6 kB / 0.6341 GB, free: 1.926 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.4323, allocations: 350.8 kB / 0.6345 GB, free: 1.574 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003487/0.4327, allocations: 147.9 kB / 0.6346 GB, free: 1.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000417/0.4331, allocations: 276.1 kB / 0.6349 GB, free: 1.105 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007698/0.4339, allocations: 417.6 kB / 0.6353 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4339, allocations: 0 / 0.6353 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001068/0.435, allocations: 0.5209 MB / 0.6358 GB, free: 124 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.435, allocations: 12.56 kB / 0.6358 GB, free: 112 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.435, allocations: 4 kB / 0.6358 GB, free: 108 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00191/0.4369, allocations: 276.9 kB / 0.6361 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003535/0.4373, allocations: 99.81 kB / 0.6362 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007955/0.4381, allocations: 0.603 MB / 0.6368 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003342/0.4384, allocations: 51.52 kB / 0.6368 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.249e-05/0.4385, allocations: 48.05 kB / 0.6369 GB, free: 15.01 MB / 462.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.0001892/0.4387, allocations: 185.5 kB / 0.637 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.4388, allocations: 51.44 kB / 0.6371 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001665/0.4405, allocations: 0.6563 MB / 0.6377 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.4405, allocations: 3.938 kB / 0.6377 GB, free: 14.08 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4405, allocations: 4 kB / 0.6377 GB, free: 14.08 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.4405, allocations: 11.92 kB / 0.6377 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/0.442, allocations: 0.9751 MB / 0.6387 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.442, allocations: 4 kB / 0.6387 GB, free: 13.01 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002299/0.4422, allocations: 48.06 kB / 0.6387 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001653/0.4439, allocations: 260.4 kB / 0.639 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/0.4439, allocations: 15.98 kB / 0.639 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007683/0.4447, allocations: 0.6031 MB / 0.6396 GB, free: 12.06 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4447, allocations: 0 / 0.6396 GB, free: 12.06 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.4459, allocations: 0.5075 MB / 0.6401 GB, free: 11.52 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.632e-05/0.446, allocations: 136.4 kB / 0.6402 GB, free: 11.37 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.208e-05/0.4461, allocations: 15.84 kB / 0.6402 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003557/0.4464, allocations: 15.98 kB / 0.6402 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.517e-05/0.4465, allocations: 31.84 kB / 0.6403 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/0.4465, allocations: 23.97 kB / 0.6403 GB, free: 11.28 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003858/0.4469, allocations: 382.8 kB / 0.6407 GB, free: 10.91 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4469, allocations: 0 / 0.6407 GB, free: 10.91 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006273/0.4476, allocations: 251.8 kB / 0.6409 GB, free: 10.66 MB / 462.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.001894/0.4495, allocations: 1.312 MB / 0.6422 GB, free: 9.312 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001208/0.4507, allocations: 384.3 kB / 0.6426 GB, free: 8.938 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4507, allocations: 4 kB / 0.6426 GB, free: 8.934 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006875/0.4514, allocations: 156.3 kB / 0.6427 GB, free: 8.781 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/0.4529, allocations: 357.2 kB / 0.643 GB, free: 8.434 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006361/0.4593, allocations: 4.81 MB / 0.6477 GB, free: 3.434 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.4596, allocations: 0.8549 MB / 0.6486 GB, free: 2.551 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007592/0.4604, allocations: 195.2 kB / 0.6488 GB, free: 2.359 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003123/0.4607, allocations: 207.4 kB / 0.649 GB, free: 2.156 MB / 462.1 MB Notification: Performance of SimCode: time 3.6e-07/0.4607, allocations: 0 / 0.649 GB, free: 2.156 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5357/0.9964, allocations: 20.19 MB / 0.6687 GB, free: 13.96 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/14.21, allocations: 12.31 kB / 0.6687 GB, free: 13.95 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches