Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_4_0_0_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.0006897/0.0006897, allocations: 97.03 kB / 17.35 MB, free: 6.367 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.0007351/0.0007351, allocations: 176.5 kB / 18.25 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.202/1.202, allocations: 223.3 MB / 242.3 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1782/0.1782, allocations: 44.25 MB / 337.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002667/0.0002667, allocations: 12 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08441/0.08469, allocations: 61.92 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.3219/0.4066, allocations: 178.4 MB / 0.6356 GB, free: 136 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003388/0.41, allocations: 2.215 MB / 0.6377 GB, free: 13.91 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004387/0.4105, allocations: 23.81 kB / 0.6377 GB, free: 13.89 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006528/0.4112, allocations: 246.6 kB / 0.638 GB, free: 13.65 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002366/0.4135, allocations: 1.046 MB / 0.639 GB, free: 12.61 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.4149, allocations: 0.6113 MB / 0.6396 GB, free: 12 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001756/0.4167, allocations: 1.972 MB / 0.6415 GB, free: 10.02 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004994/0.4172, allocations: 361.7 kB / 0.6419 GB, free: 9.664 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007514/0.4179, allocations: 0.5018 MB / 0.6424 GB, free: 9.16 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005264/0.4185, allocations: 454.1 kB / 0.6428 GB, free: 8.715 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.155e-05/0.4185, allocations: 24 kB / 0.6428 GB, free: 8.691 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.4197, allocations: 0.7137 MB / 0.6435 GB, free: 7.977 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.4199, allocations: 127.5 kB / 0.6436 GB, free: 7.852 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002929/0.4202, allocations: 332.2 kB / 0.6439 GB, free: 7.52 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001282/0.4215, allocations: 1.168 MB / 0.6451 GB, free: 6.348 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.4215, allocations: 0 / 0.6451 GB, free: 6.348 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4215, allocations: 0 / 0.6451 GB, free: 6.348 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.4215, allocations: 4 kB / 0.6451 GB, free: 6.344 MB / 478.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.001421/0.4229, allocations: 0.8532 MB / 0.6459 GB, free: 5.441 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.423, allocations: 12.03 kB / 0.6459 GB, free: 5.43 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001047/0.4231, allocations: 74.53 kB / 0.646 GB, free: 5.348 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008998/0.424, allocations: 139.2 kB / 0.6461 GB, free: 5.211 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005262/0.4245, allocations: 444.6 kB / 0.6466 GB, free: 4.734 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.4246, allocations: 33 kB / 0.6466 GB, free: 4.703 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.857e-05/0.4246, allocations: 39.94 kB / 0.6466 GB, free: 4.664 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009193/0.4255, allocations: 0.5672 MB / 0.6472 GB, free: 4.059 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.4256, allocations: 0 / 0.6472 GB, free: 4.059 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.992e-05/0.4256, allocations: 20.88 kB / 0.6472 GB, free: 4.039 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.4256, allocations: 8 kB / 0.6472 GB, free: 4.031 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000782/0.4264, allocations: 423.6 kB / 0.6476 GB, free: 3.617 MB / 478.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.002403/0.4288, allocations: 2.569 MB / 0.6501 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005743/0.4294, allocations: 302.8 kB / 0.6504 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002642/0.4297, allocations: 152.8 kB / 0.6506 GB, free: 380 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002989/0.43, allocations: 352.4 kB / 0.6509 GB, free: 15.95 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.43, allocations: 38.56 kB / 0.6509 GB, free: 15.91 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 1.873e-06/0.4301, allocations: 0 / 0.6509 GB, free: 15.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=29): time 0.00217/0.4322, allocations: 0.7272 MB / 0.6516 GB, free: 15.15 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.4323, allocations: 140.5 kB / 0.6518 GB, free: 14.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004314/0.4327, allocations: 441.9 kB / 0.6522 GB, free: 14.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.81e-05/0.4328, allocations: 33.7 kB / 0.6522 GB, free: 14.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.433, allocations: 279.7 kB / 0.6525 GB, free: 14.23 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.178e-05/0.433, allocations: 94.59 kB / 0.6526 GB, free: 14.13 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-05/0.4331, allocations: 37.7 kB / 0.6526 GB, free: 14.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.4332, allocations: 354.8 kB / 0.653 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003598/0.4336, allocations: 151.8 kB / 0.6531 GB, free: 13.59 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004335/0.434, allocations: 287.2 kB / 0.6534 GB, free: 13.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007887/0.4348, allocations: 428.8 kB / 0.6538 GB, free: 12.79 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4349, allocations: 0 / 0.6538 GB, free: 12.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001095/0.436, allocations: 0.5331 MB / 0.6543 GB, free: 12.24 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.436, allocations: 18.45 kB / 0.6543 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.436, allocations: 11.38 kB / 0.6543 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001984/0.438, allocations: 320.4 kB / 0.6546 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003666/0.4384, allocations: 107.9 kB / 0.6547 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007991/0.4392, allocations: 0.5952 MB / 0.6553 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003999/0.4396, allocations: 71.59 kB / 0.6554 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.882e-05/0.4397, allocations: 47.98 kB / 0.6554 GB, free: 11.06 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.0002157/0.4399, allocations: 179.7 kB / 0.6556 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.412e-05/0.44, allocations: 51.42 kB / 0.6557 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001992/0.442, allocations: 1.039 MB / 0.6567 GB, free: 9.766 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.442, allocations: 4 kB / 0.6567 GB, free: 9.762 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.442, allocations: 0 / 0.6567 GB, free: 9.762 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.442, allocations: 7.922 kB / 0.6567 GB, free: 9.754 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.4435, allocations: 0.9751 MB / 0.6576 GB, free: 8.703 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.4435, allocations: 0 / 0.6576 GB, free: 8.703 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/0.4438, allocations: 56.12 kB / 0.6577 GB, free: 8.648 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002029/0.4458, allocations: 344.3 kB / 0.658 GB, free: 8.309 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.748e-05/0.4458, allocations: 11.98 kB / 0.658 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007825/0.4466, allocations: 0.5992 MB / 0.6586 GB, free: 7.672 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.4466, allocations: 4.031 kB / 0.6586 GB, free: 7.668 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.4478, allocations: 0.5207 MB / 0.6591 GB, free: 7.113 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/0.448, allocations: 160.3 kB / 0.6593 GB, free: 6.938 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.258e-05/0.4481, allocations: 8 kB / 0.6593 GB, free: 6.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004171/0.4485, allocations: 35.97 kB / 0.6593 GB, free: 6.895 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.516e-05/0.4485, allocations: 23.91 kB / 0.6593 GB, free: 6.871 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.698e-05/0.4486, allocations: 19.97 kB / 0.6594 GB, free: 6.852 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004218/0.449, allocations: 390.8 kB / 0.6597 GB, free: 6.469 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.449, allocations: 3.938 kB / 0.6597 GB, free: 6.465 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006703/0.4497, allocations: 223.7 kB / 0.66 GB, free: 6.246 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.001879/0.4516, allocations: 1.242 MB / 0.6612 GB, free: 4.965 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001225/0.4528, allocations: 376.7 kB / 0.6615 GB, free: 4.598 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.4528, allocations: 3.906 kB / 0.6615 GB, free: 4.594 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006959/0.4535, allocations: 169.8 kB / 0.6617 GB, free: 4.43 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001681/0.4552, allocations: 328 kB / 0.662 GB, free: 4.109 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006818/0.4621, allocations: 5.036 MB / 0.6669 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.4624, allocations: 0.8433 MB / 0.6677 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001091/0.4635, allocations: 0.5504 MB / 0.6683 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003614/0.4639, allocations: 219.3 kB / 0.6685 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of SimCode: time 6.61e-07/0.4639, allocations: 0 / 0.6685 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.093/1.557, allocations: 18.34 MB / 0.6864 GB, free: 11.29 MB / 0.5138 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002782/1.557, allocations: 318.2 kB / 0.6867 GB, free: 10.91 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.234/3.791, allocations: 0 / 0.6867 GB, free: 10.91 MB / 0.5138 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches