Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 118.9 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 199.3 kB / 20.74 MB, free: 2.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.458/1.458, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2388/0.2388, allocations: 46.92 MB / 357.1 MB, free: 10.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 79.88 kB / 0.4909 GB, free: 7.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1299, allocations: 65.99 MB / 0.5554 GB, free: 5.859 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4906/0.6206, allocations: 186.4 MB / 0.7374 GB, free: 7.125 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00479/0.6254, allocations: 2.138 MB / 0.7395 GB, free: 4.98 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007324/0.6261, allocations: 19.81 kB / 0.7395 GB, free: 4.961 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001225/0.6273, allocations: 309.9 kB / 0.7398 GB, free: 4.656 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004339/0.6317, allocations: 1.194 MB / 0.741 GB, free: 3.465 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00218/0.6338, allocations: 0.6709 MB / 0.7416 GB, free: 2.801 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002625/0.6365, allocations: 1.481 MB / 0.7431 GB, free: 1.312 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009173/0.6374, allocations: 375.8 kB / 0.7434 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001525/0.6389, allocations: 0.5916 MB / 0.744 GB, free: 352 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.6399, allocations: 462.1 kB / 0.7444 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001973/0.6401, allocations: 52 kB / 0.7445 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002332/0.6425, allocations: 0.8036 MB / 0.7453 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003233/0.6428, allocations: 155.4 kB / 0.7454 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007688/0.6436, allocations: 326.5 kB / 0.7457 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003043/0.6466, allocations: 1.219 MB / 0.7469 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.6466, allocations: 0 / 0.7469 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6466, allocations: 0 / 0.7469 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.882e-05/0.6466, allocations: 0 / 0.7469 GB, free: 13.34 MB / 0.5606 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.002378/0.649, allocations: 1.012 MB / 0.7479 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.6491, allocations: 8.031 kB / 0.7479 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001787/0.6493, allocations: 86.52 kB / 0.748 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/0.6504, allocations: 135.5 kB / 0.7481 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001/0.6514, allocations: 460.9 kB / 0.7486 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.498e-05/0.6515, allocations: 29 kB / 0.7486 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.351e-05/0.6516, allocations: 39.94 kB / 0.7486 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.6528, allocations: 0.5554 MB / 0.7492 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.6528, allocations: 0 / 0.7492 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-05/0.6529, allocations: 24 kB / 0.7492 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.6529, allocations: 16 kB / 0.7492 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.6539, allocations: 407.6 kB / 0.7496 GB, free: 10.45 MB / 0.5606 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.00365/0.6576, allocations: 2.57 MB / 0.7521 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007516/0.6583, allocations: 274.7 kB / 0.7524 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003158/0.6586, allocations: 132.9 kB / 0.7525 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003867/0.659, allocations: 356.4 kB / 0.7529 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.774e-05/0.6591, allocations: 34.56 kB / 0.7529 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 2.395e-06/0.6591, allocations: 0 / 0.7529 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.002907/0.662, allocations: 0.7175 MB / 0.7536 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.6621, allocations: 132.5 kB / 0.7537 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006732/0.6628, allocations: 441.9 kB / 0.7541 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.13e-05/0.6629, allocations: 37.7 kB / 0.7542 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002721/0.6631, allocations: 280.2 kB / 0.7544 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.6633, allocations: 107 kB / 0.7545 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002427/0.6635, allocations: 109.6 kB / 0.7546 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002229/0.6638, allocations: 350.8 kB / 0.755 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004785/0.6642, allocations: 143.9 kB / 0.7551 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005741/0.6648, allocations: 280.3 kB / 0.7554 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.6658, allocations: 425.6 kB / 0.7558 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.6658, allocations: 3.938 kB / 0.7558 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001518/0.6673, allocations: 0.529 MB / 0.7563 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.6674, allocations: 8 kB / 0.7563 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.6674, allocations: 8.375 kB / 0.7563 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002329/0.6697, allocations: 273 kB / 0.7566 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004949/0.6702, allocations: 99.88 kB / 0.7567 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/0.6713, allocations: 0.6069 MB / 0.7573 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000527/0.6719, allocations: 39.72 kB / 0.7573 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/0.672, allocations: 52.84 kB / 0.7574 GB, free: 1.977 MB / 0.5606 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.000362/0.6723, allocations: 183.8 kB / 0.7575 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/0.6725, allocations: 51.67 kB / 0.7576 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002566/0.6751, allocations: 1.031 MB / 0.7586 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.6751, allocations: 4 kB / 0.7586 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.6751, allocations: 0 / 0.7586 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.6751, allocations: 0 / 0.7586 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002205/0.6773, allocations: 0.9674 MB / 0.7595 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.6773, allocations: 4 kB / 0.7595 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002676/0.6776, allocations: 47.95 kB / 0.7596 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001918/0.6795, allocations: 260.6 kB / 0.7598 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-05/0.6796, allocations: 15.98 kB / 0.7599 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001082/0.6807, allocations: 0.5992 MB / 0.7604 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.6807, allocations: 3.984 kB / 0.7604 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00165/0.6823, allocations: 0.5158 MB / 0.7609 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002548/0.6826, allocations: 136.6 kB / 0.7611 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/0.6828, allocations: 8 kB / 0.7611 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004974/0.6833, allocations: 15.98 kB / 0.7611 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.6834, allocations: 31.89 kB / 0.7611 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.763e-05/0.6834, allocations: 15.98 kB / 0.7611 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000634/0.684, allocations: 386.8 kB / 0.7615 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.684, allocations: 3.938 kB / 0.7615 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001018/0.6851, allocations: 227.6 kB / 0.7617 GB, free: 13.31 MB / 0.5762 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.002604/0.6877, allocations: 1.228 MB / 0.7629 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00169/0.6894, allocations: 352.5 kB / 0.7633 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.6894, allocations: 0 / 0.7633 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008343/0.6902, allocations: 150.8 kB / 0.7634 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002036/0.6922, allocations: 346.1 kB / 0.7637 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/0.7025, allocations: 4.711 MB / 0.7683 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005604/0.703, allocations: 0.8511 MB / 0.7692 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001251/0.7043, allocations: 0.547 MB / 0.7697 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005285/0.7048, allocations: 223.3 kB / 0.7699 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of SimCode: time 1.543e-06/0.7048, allocations: 3.938 kB / 0.7699 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05642/0.7612, allocations: 19.53 MB / 0.789 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.37/14.13, allocations: 10.75 kB / 0.789 GB, free: 1.402 MB / 0.5919 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.315022853203118]