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.001286/0.001287, allocations: 108.1 kB / 16.41 MB, free: 6.438 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.00168/0.00168, allocations: 191.7 kB / 17.34 MB, free: 5.719 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.391/1.391, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2428/0.2428, allocations: 43.53 MB / 314.1 MB, free: 452 kB / 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.001604/0.001604, allocations: 63.91 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1168, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4671/0.5839, allocations: 189.8 MB / 0.6727 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004467/0.5884, allocations: 2.14 MB / 0.6748 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007931/0.5893, allocations: 11.94 kB / 0.6748 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001182/0.5905, allocations: 297.9 kB / 0.6751 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00448/0.595, allocations: 1.408 MB / 0.6765 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001962/0.597, allocations: 0.6834 MB / 0.6772 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002034/0.5991, allocations: 1.469 MB / 0.6786 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008483/0.5999, allocations: 431.4 kB / 0.679 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001771/0.6017, allocations: 0.5605 MB / 0.6796 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001266/0.603, allocations: 442.2 kB / 0.68 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002545/0.6033, allocations: 48 kB / 0.68 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003036/0.6063, allocations: 1.002 MB / 0.681 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002618/0.6066, allocations: 147.5 kB / 0.6812 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005339/0.6071, allocations: 318.5 kB / 0.6815 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002901/0.61, allocations: 1.328 MB / 0.6828 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.6101, allocations: 0 / 0.6828 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6101, allocations: 0 / 0.6828 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.715e-05/0.6101, allocations: 3.938 kB / 0.6828 GB, free: 2.652 MB / 0.5137 GB 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.002311/0.6124, allocations: 1.029 MB / 0.6838 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.6125, allocations: 15.89 kB / 0.6838 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000141/0.6127, allocations: 78.52 kB / 0.6839 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.6137, allocations: 139.2 kB / 0.684 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009831/0.6147, allocations: 472.5 kB / 0.6844 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.491e-05/0.6147, allocations: 29 kB / 0.6845 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.63e-05/0.6148, allocations: 36 kB / 0.6845 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.6158, allocations: 0.5477 MB / 0.685 GB, free: 188 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.6159, allocations: 7.875 kB / 0.685 GB, free: 180 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.612e-05/0.6159, allocations: 20 kB / 0.6851 GB, free: 160 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.616, allocations: 12 kB / 0.6851 GB, free: 148 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008737/0.6168, allocations: 407.6 kB / 0.6855 GB, free: 15.75 MB / 0.5294 GB 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.00326/0.6201, allocations: 2.588 MB / 0.688 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006568/0.6208, allocations: 294.8 kB / 0.6883 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002855/0.6211, allocations: 152.8 kB / 0.6884 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001216/0.6223, allocations: 1.221 MB / 0.6896 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.6224, allocations: 38.56 kB / 0.6896 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=29): time 2.224e-06/0.6224, allocations: 0 / 0.6896 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of matching and sorting (n=29): time 0.00247/0.6248, allocations: 0.7036 MB / 0.6903 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.96e-05/0.6249, allocations: 136.5 kB / 0.6905 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005186/0.6255, allocations: 437.9 kB / 0.6909 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.345e-05/0.6255, allocations: 37.7 kB / 0.6909 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.6257, allocations: 271.8 kB / 0.6912 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.918e-05/0.6258, allocations: 98.58 kB / 0.6913 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.626, allocations: 109.5 kB / 0.6914 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.6262, allocations: 358.8 kB / 0.6917 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003907/0.6266, allocations: 135.9 kB / 0.6918 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004965/0.6271, allocations: 283.2 kB / 0.6921 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008844/0.628, allocations: 416.8 kB / 0.6925 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.628, allocations: 0 / 0.6925 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001273/0.6293, allocations: 0.5209 MB / 0.693 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.6293, allocations: 12.38 kB / 0.693 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.6293, allocations: 8 kB / 0.693 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002062/0.6314, allocations: 264.5 kB / 0.6933 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003948/0.6318, allocations: 107.8 kB / 0.6934 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008977/0.6327, allocations: 0.5952 MB / 0.694 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004278/0.6332, allocations: 51.52 kB / 0.694 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.399e-05/0.6333, allocations: 47.98 kB / 0.6941 GB, free: 6.258 MB / 0.5294 GB 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.0002659/0.6335, allocations: 185.5 kB / 0.6942 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.6337, allocations: 55.52 kB / 0.6943 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001658/0.6354, allocations: 0.6596 MB / 0.6949 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.6354, allocations: 4 kB / 0.6949 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.6354, allocations: 4 kB / 0.695 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.6354, allocations: 7.922 kB / 0.695 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/0.6372, allocations: 0.9712 MB / 0.6959 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.6372, allocations: 8.094 kB / 0.6959 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/0.6375, allocations: 56.52 kB / 0.696 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001814/0.6393, allocations: 256.4 kB / 0.6962 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.105e-05/0.6394, allocations: 11.98 kB / 0.6962 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008906/0.6403, allocations: 0.596 MB / 0.6968 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.6403, allocations: 0 / 0.6968 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.6416, allocations: 0.5075 MB / 0.6973 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001802/0.6418, allocations: 128.5 kB / 0.6974 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.6419, allocations: 19.84 kB / 0.6974 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004391/0.6424, allocations: 16.48 kB / 0.6975 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.14e-05/0.6425, allocations: 35.83 kB / 0.6975 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.004e-05/0.6425, allocations: 15.98 kB / 0.6975 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005217/0.6431, allocations: 386.8 kB / 0.6979 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6431, allocations: 0 / 0.6979 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009116/0.644, allocations: 259.8 kB / 0.6981 GB, free: 1.906 MB / 0.5294 GB 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.00242/0.6464, allocations: 1.312 MB / 0.6994 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00139/0.6478, allocations: 380.7 kB / 0.6998 GB, free: 188 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.6478, allocations: 4 kB / 0.6998 GB, free: 184 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007305/0.6486, allocations: 167.9 kB / 0.6999 GB, free: 16 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001819/0.6504, allocations: 346 kB / 0.7003 GB, free: 15.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008362/0.6588, allocations: 4.68 MB / 0.7048 GB, free: 10.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004558/0.6593, allocations: 0.8472 MB / 0.7057 GB, free: 9.926 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008052/0.6601, allocations: 192.6 kB / 0.7058 GB, free: 9.738 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003919/0.6605, allocations: 215.3 kB / 0.7061 GB, free: 9.531 MB / 0.545 GB Notification: Performance of SimCode: time 1.142e-06/0.6605, allocations: 0 / 0.7061 GB, free: 9.531 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04727/0.7078, allocations: 20.63 MB / 0.7262 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.51, allocations: 4.438 kB / 0.7262 GB, free: 4.875 MB / 0.5606 GB (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