Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_3_2_3_cpp_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_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 176.9 kB / 16.72 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.224/1.224, allocations: 205.4 MB / 222.9 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008004/0.0008006, allocations: 85.41 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2889/0.2889, allocations: 43.56 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003548, allocations: 12 kB / 432.1 MB, free: 5.492 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09309/0.09346, allocations: 58.85 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.3158/0.4094, allocations: 173.1 MB / 0.6484 GB, free: 9.523 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.00319/0.4126, allocations: 2.106 MB / 0.6505 GB, free: 7.414 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003037/0.4129, allocations: 23.81 kB / 0.6505 GB, free: 7.391 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006037/0.4135, allocations: 234.5 kB / 0.6508 GB, free: 7.16 MB / 474.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002704/0.4162, allocations: 1.203 MB / 0.6519 GB, free: 5.957 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.4175, allocations: 0.5575 MB / 0.6525 GB, free: 5.41 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001506/0.419, allocations: 1.699 MB / 0.6541 GB, free: 3.707 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004128/0.4194, allocations: 350.6 kB / 0.6545 GB, free: 3.371 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006347/0.4201, allocations: 0.502 MB / 0.655 GB, free: 2.867 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004214/0.4205, allocations: 422.3 kB / 0.6554 GB, free: 2.453 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 6.286e-05/0.4206, allocations: 31.94 kB / 0.6554 GB, free: 2.422 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001337/0.4219, allocations: 0.819 MB / 0.6562 GB, free: 1.602 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.4221, allocations: 139.4 kB / 0.6563 GB, free: 1.465 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002738/0.4224, allocations: 316.4 kB / 0.6566 GB, free: 1.148 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009236/0.4233, allocations: 0.9314 MB / 0.6575 GB, free: 220 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4233, allocations: 0 / 0.6575 GB, free: 220 kB / 474.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.4233, allocations: 0 / 0.6575 GB, free: 220 kB / 474.7 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.4233, allocations: 0 / 0.6575 GB, free: 220 kB / 474.7 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.00134/0.4247, allocations: 0.8962 MB / 0.6584 GB, free: 15.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.4247, allocations: 12.03 kB / 0.6584 GB, free: 15.25 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.455e-05/0.4248, allocations: 79.09 kB / 0.6585 GB, free: 15.17 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008094/0.4256, allocations: 131.2 kB / 0.6586 GB, free: 15.04 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00051/0.4262, allocations: 452.5 kB / 0.6591 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.4262, allocations: 33 kB / 0.6591 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.094e-05/0.4263, allocations: 43.12 kB / 0.6591 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008702/0.4271, allocations: 0.5554 MB / 0.6597 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.4272, allocations: 4 kB / 0.6597 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.113e-05/0.4272, allocations: 23.94 kB / 0.6597 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.4272, allocations: 11.98 kB / 0.6597 GB, free: 13.85 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007616/0.428, allocations: 415.6 kB / 0.6601 GB, free: 13.45 MB / 490.7 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.002433/0.4304, allocations: 2.592 MB / 0.6626 GB, free: 10.63 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005249/0.431, allocations: 292.6 kB / 0.6629 GB, free: 10.34 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002584/0.4312, allocations: 149.4 kB / 0.6631 GB, free: 10.19 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001055/0.4323, allocations: 1.231 MB / 0.6643 GB, free: 8.758 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.4323, allocations: 38.56 kB / 0.6643 GB, free: 8.711 MB / 490.7 MB Notification: Performance of pre-optimization done (n=29): time 1.543e-06/0.4324, allocations: 0 / 0.6643 GB, free: 8.711 MB / 490.7 MB Notification: Performance of matching and sorting (n=29): time 0.002124/0.4345, allocations: 0.7212 MB / 0.665 GB, free: 7.965 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.4345, allocations: 136.5 kB / 0.6651 GB, free: 7.801 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000436/0.435, allocations: 445.8 kB / 0.6656 GB, free: 7.359 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.956e-05/0.435, allocations: 33.7 kB / 0.6656 GB, free: 7.32 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.4352, allocations: 267.8 kB / 0.6658 GB, free: 7.055 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.894e-05/0.4353, allocations: 110.5 kB / 0.6659 GB, free: 6.945 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.4353, allocations: 4 kB / 0.6659 GB, free: 6.941 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.4355, allocations: 358.8 kB / 0.6663 GB, free: 6.582 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003515/0.4358, allocations: 147.9 kB / 0.6664 GB, free: 6.438 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004388/0.4363, allocations: 279.2 kB / 0.6667 GB, free: 6.109 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007745/0.437, allocations: 420.6 kB / 0.6671 GB, free: 5.652 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4371, allocations: 4 kB / 0.6671 GB, free: 5.648 MB / 490.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001053/0.4381, allocations: 0.5338 MB / 0.6676 GB, free: 5.105 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.4381, allocations: 11.94 kB / 0.6676 GB, free: 5.094 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.4382, allocations: 4 kB / 0.6676 GB, free: 5.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001962/0.4401, allocations: 316.6 kB / 0.6679 GB, free: 4.777 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003669/0.4405, allocations: 107.8 kB / 0.668 GB, free: 4.672 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008401/0.4414, allocations: 0.603 MB / 0.6686 GB, free: 4.043 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003866/0.4418, allocations: 63.56 kB / 0.6687 GB, free: 3.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.609e-05/0.4418, allocations: 43.98 kB / 0.6687 GB, free: 3.938 MB / 490.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000212/0.442, allocations: 182.2 kB / 0.6689 GB, free: 3.75 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.49e-05/0.4421, allocations: 47.44 kB / 0.669 GB, free: 3.703 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/0.4438, allocations: 0.674 MB / 0.6696 GB, free: 3.008 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.4438, allocations: 0 / 0.6696 GB, free: 3.008 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.4438, allocations: 4 kB / 0.6696 GB, free: 3.004 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.4438, allocations: 11.92 kB / 0.6696 GB, free: 2.992 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.4453, allocations: 0.9752 MB / 0.6706 GB, free: 1.945 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.4453, allocations: 4 kB / 0.6706 GB, free: 1.941 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/0.4456, allocations: 47.91 kB / 0.6706 GB, free: 1.895 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001975/0.4476, allocations: 344.5 kB / 0.671 GB, free: 1.555 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/0.4476, allocations: 15.98 kB / 0.671 GB, free: 1.539 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000818/0.4484, allocations: 0.603 MB / 0.6716 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4484, allocations: 4.031 kB / 0.6716 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.4496, allocations: 0.5114 MB / 0.6721 GB, free: 368 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.4497, allocations: 156.4 kB / 0.6722 GB, free: 192 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.314e-05/0.4498, allocations: 4 kB / 0.6722 GB, free: 188 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003928/0.4502, allocations: 39.88 kB / 0.6723 GB, free: 148 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.182e-05/0.4503, allocations: 23.91 kB / 0.6723 GB, free: 124 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.631e-05/0.4503, allocations: 27.97 kB / 0.6723 GB, free: 96 kB / 490.7 MB Notification: Performance of sorting global known variables: time 0.1656/0.616, allocations: 349.6 kB / 0.6726 GB, free: 151.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.616, allocations: 0 / 0.6726 GB, free: 151.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000969/0.617, allocations: 259.1 kB / 0.6729 GB, free: 151.8 MB / 490.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002105/0.6191, allocations: 1.313 MB / 0.6742 GB, free: 151.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.6204, allocations: 369.4 kB / 0.6745 GB, free: 151.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.6204, allocations: 1.438 kB / 0.6745 GB, free: 151.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007231/0.6212, allocations: 163 kB / 0.6747 GB, free: 151.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/0.6226, allocations: 270.4 kB / 0.6749 GB, free: 151.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005245/0.6279, allocations: 2.963 MB / 0.6778 GB, free: 150.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.6282, allocations: 0.8466 MB / 0.6787 GB, free: 149.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004534/0.6287, allocations: 226.5 kB / 0.6789 GB, free: 149.4 MB / 490.7 MB Notification: Performance of SimCode: time 1.353e-06/0.6287, allocations: 0 / 0.6789 GB, free: 149.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.452/5.081, allocations: 13.29 MB / 0.6919 GB, free: 148.3 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches