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.001423/0.001423, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.001807/0.001807, allocations: 194 kB / 18.12 MB, free: 5.363 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.237/1.237, allocations: 222.9 MB / 241.8 MB, free: 13.87 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1895/0.1895, allocations: 44.17 MB / 336.1 MB, free: 2.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 55.06 kB / 407.8 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08679/0.08803, allocations: 60.82 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.3482/0.4363, allocations: 180.8 MB / 0.6342 GB, free: 12.22 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003757/0.4401, allocations: 2.24 MB / 0.6364 GB, free: 9.977 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005986/0.4407, allocations: 23.81 kB / 0.6365 GB, free: 9.953 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008485/0.4415, allocations: 250.6 kB / 0.6367 GB, free: 9.707 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002648/0.4442, allocations: 1.037 MB / 0.6377 GB, free: 8.672 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.4458, allocations: 0.6183 MB / 0.6383 GB, free: 8.062 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002275/0.4481, allocations: 1.98 MB / 0.6402 GB, free: 6.074 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007026/0.4488, allocations: 355.3 kB / 0.6406 GB, free: 5.723 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/0.4499, allocations: 0.5057 MB / 0.6411 GB, free: 5.215 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007064/0.4506, allocations: 458.1 kB / 0.6415 GB, free: 4.766 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.4507, allocations: 28 kB / 0.6415 GB, free: 4.738 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001504/0.4522, allocations: 0.7137 MB / 0.6422 GB, free: 4.023 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001949/0.4524, allocations: 131.5 kB / 0.6424 GB, free: 3.895 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005074/0.4529, allocations: 314.5 kB / 0.6427 GB, free: 3.586 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001794/0.4547, allocations: 1.18 MB / 0.6438 GB, free: 2.402 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.4548, allocations: 0 / 0.6438 GB, free: 2.402 MB / 478.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.4548, allocations: 0 / 0.6438 GB, free: 2.402 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.967e-05/0.4548, allocations: 4 kB / 0.6438 GB, free: 2.398 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.001866/0.4567, allocations: 0.9934 MB / 0.6448 GB, free: 1.355 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.4567, allocations: 8.031 kB / 0.6448 GB, free: 1.348 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001119/0.4568, allocations: 78.53 kB / 0.6449 GB, free: 1.262 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.4578, allocations: 135.2 kB / 0.645 GB, free: 1.129 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005747/0.4584, allocations: 444.5 kB / 0.6454 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.4585, allocations: 29 kB / 0.6454 GB, free: 0.625 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.013e-05/0.4585, allocations: 40 kB / 0.6455 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.4596, allocations: 0.5593 MB / 0.646 GB, free: 15.99 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.4596, allocations: 7.938 kB / 0.646 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.28e-05/0.4596, allocations: 23.98 kB / 0.6461 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.4597, allocations: 12 kB / 0.6461 GB, free: 15.95 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008097/0.4605, allocations: 407.6 kB / 0.6465 GB, free: 15.55 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.002578/0.4631, allocations: 2.565 MB / 0.649 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006205/0.4637, allocations: 291.5 kB / 0.6492 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002744/0.464, allocations: 149 kB / 0.6494 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003173/0.4643, allocations: 352.4 kB / 0.6497 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.4644, allocations: 39.3 kB / 0.6498 GB, free: 11.86 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 1.733e-06/0.4644, allocations: 0 / 0.6498 GB, free: 11.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=29): time 0.002426/0.4668, allocations: 0.7039 MB / 0.6504 GB, free: 11.12 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/0.4669, allocations: 136.5 kB / 0.6506 GB, free: 10.96 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004834/0.4674, allocations: 445.8 kB / 0.651 GB, free: 10.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.262e-05/0.4674, allocations: 41.64 kB / 0.651 GB, free: 10.47 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.4676, allocations: 275.8 kB / 0.6513 GB, free: 10.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.4677, allocations: 102.5 kB / 0.6514 GB, free: 10.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001822/0.4679, allocations: 109.6 kB / 0.6515 GB, free: 9.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.4681, allocations: 354.8 kB / 0.6518 GB, free: 9.625 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003982/0.4685, allocations: 143.9 kB / 0.652 GB, free: 9.484 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004754/0.469, allocations: 271.3 kB / 0.6522 GB, free: 9.164 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008713/0.4698, allocations: 424.7 kB / 0.6526 GB, free: 8.703 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.4699, allocations: 0 / 0.6526 GB, free: 8.703 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001256/0.4711, allocations: 0.5209 MB / 0.6532 GB, free: 8.172 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.4711, allocations: 8 kB / 0.6532 GB, free: 8.164 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.4712, allocations: 12.31 kB / 0.6532 GB, free: 8.156 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002184/0.4734, allocations: 272.5 kB / 0.6534 GB, free: 7.887 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004188/0.4738, allocations: 99.88 kB / 0.6535 GB, free: 7.789 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009797/0.4748, allocations: 0.607 MB / 0.6541 GB, free: 7.156 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005046/0.4753, allocations: 63.5 kB / 0.6542 GB, free: 7.094 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.351e-05/0.4754, allocations: 43.92 kB / 0.6542 GB, free: 7.051 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.0002826/0.4757, allocations: 186.2 kB / 0.6544 GB, free: 6.859 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.4758, allocations: 55.44 kB / 0.6545 GB, free: 6.805 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002196/0.478, allocations: 1.022 MB / 0.6555 GB, free: 5.766 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.4781, allocations: 0 / 0.6555 GB, free: 5.766 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.4781, allocations: 0 / 0.6555 GB, free: 5.766 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.4781, allocations: 3.984 kB / 0.6555 GB, free: 5.762 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001832/0.4799, allocations: 0.9673 MB / 0.6564 GB, free: 4.719 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.4799, allocations: 0 / 0.6564 GB, free: 4.719 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002451/0.4802, allocations: 51.89 kB / 0.6565 GB, free: 4.668 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002167/0.4824, allocations: 288.6 kB / 0.6567 GB, free: 4.383 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.884e-05/0.4824, allocations: 15.92 kB / 0.6567 GB, free: 4.367 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009379/0.4834, allocations: 0.603 MB / 0.6573 GB, free: 3.738 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.4834, allocations: 4.031 kB / 0.6573 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/0.4847, allocations: 0.5077 MB / 0.6578 GB, free: 3.191 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.4849, allocations: 132.4 kB / 0.658 GB, free: 3.043 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.485, allocations: 11.94 kB / 0.658 GB, free: 3.031 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004622/0.4855, allocations: 31.88 kB / 0.658 GB, free: 3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.72e-05/0.4856, allocations: 31.91 kB / 0.658 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-05/0.4857, allocations: 23.97 kB / 0.6581 GB, free: 2.945 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004998/0.4862, allocations: 382.8 kB / 0.6584 GB, free: 2.57 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4862, allocations: 0 / 0.6584 GB, free: 2.57 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008189/0.487, allocations: 219.8 kB / 0.6586 GB, free: 2.355 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.002236/0.4892, allocations: 1.244 MB / 0.6598 GB, free: 1.082 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001417/0.4907, allocations: 367.8 kB / 0.6602 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.4907, allocations: 0.875 kB / 0.6602 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008045/0.4915, allocations: 163.8 kB / 0.6604 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/0.4932, allocations: 336.1 kB / 0.6607 GB, free: 240 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007805/0.501, allocations: 4.955 MB / 0.6655 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.5014, allocations: 0.851 MB / 0.6663 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001243/0.5026, allocations: 0.5525 MB / 0.6669 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00043/0.5031, allocations: 215.3 kB / 0.6671 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of SimCode: time 8.92e-07/0.5031, allocations: 0 / 0.6671 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08567/0.5888, allocations: 18.52 MB / 0.6852 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003339/0.5891, allocations: 319.2 kB / 0.6855 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.481/3.07, allocations: 0 / 0.6855 GB, free: 6.898 MB / 0.5137 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