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: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 109.2 kB / 16.41 MB, free: 6.5 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.001481/0.001481, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.485/1.485, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2049/0.2049, allocations: 43.52 MB / 314.1 MB, free: 460 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.001664/0.001664, allocations: 67.91 kB / 441.8 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1089, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.5146/0.6236, allocations: 189.8 MB / 0.6732 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004713/0.6283, allocations: 2.135 MB / 0.6753 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008854/0.6293, allocations: 15.88 kB / 0.6753 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.6305, allocations: 294 kB / 0.6756 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004477/0.635, allocations: 1.419 MB / 0.677 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00207/0.6371, allocations: 0.674 MB / 0.6777 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002512/0.6396, allocations: 1.469 MB / 0.6791 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008997/0.6405, allocations: 435.4 kB / 0.6795 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001352/0.6419, allocations: 0.5605 MB / 0.6801 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009667/0.6429, allocations: 434.2 kB / 0.6805 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001998/0.6431, allocations: 48 kB / 0.6805 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002834/0.6459, allocations: 1.002 MB / 0.6815 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002663/0.6462, allocations: 147.5 kB / 0.6816 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005677/0.6468, allocations: 326.5 kB / 0.6819 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002949/0.6498, allocations: 1.328 MB / 0.6832 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.6498, allocations: 3.938 kB / 0.6832 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6498, allocations: 0 / 0.6832 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.898e-05/0.6498, allocations: 0 / 0.6832 GB, free: 2.355 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.002509/0.6523, allocations: 1.054 MB / 0.6843 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.6524, allocations: 8.031 kB / 0.6843 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/0.6535, allocations: 139.5 kB / 0.6844 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.6546, allocations: 476.8 kB / 0.6849 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.747e-05/0.6547, allocations: 29 kB / 0.6849 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.3e-05/0.6548, allocations: 40.5 kB / 0.6849 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.656, allocations: 0.5478 MB / 0.6855 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.6561, allocations: 3.938 kB / 0.6855 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.581e-05/0.6561, allocations: 19.94 kB / 0.6855 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.6562, allocations: 12 kB / 0.6855 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008924/0.6571, allocations: 411.6 kB / 0.6859 GB, free: 15.51 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.003142/0.6602, allocations: 2.588 MB / 0.6884 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006481/0.6609, allocations: 296.4 kB / 0.6887 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002834/0.6612, allocations: 149 kB / 0.6889 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001236/0.6624, allocations: 1.217 MB / 0.69 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.6625, allocations: 42.5 kB / 0.6901 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=29): time 1.783e-06/0.6625, allocations: 0 / 0.6901 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=29): time 0.00244/0.6649, allocations: 0.7078 MB / 0.6908 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.746e-05/0.665, allocations: 132.5 kB / 0.6909 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005357/0.6656, allocations: 441.9 kB / 0.6913 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.325e-05/0.6656, allocations: 37.7 kB / 0.6914 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002074/0.6658, allocations: 276.2 kB / 0.6916 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.643e-05/0.6659, allocations: 111 kB / 0.6917 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001747/0.6661, allocations: 97.66 kB / 0.6918 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.6663, allocations: 354.8 kB / 0.6922 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000397/0.6667, allocations: 143.9 kB / 0.6923 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004912/0.6672, allocations: 279.2 kB / 0.6926 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008845/0.6681, allocations: 420.8 kB / 0.693 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.6681, allocations: 0 / 0.693 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00122/0.6693, allocations: 0.5251 MB / 0.6935 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.6694, allocations: 10.66 kB / 0.6935 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.6694, allocations: 8.375 kB / 0.6935 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001989/0.6714, allocations: 264.5 kB / 0.6937 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003811/0.6718, allocations: 103.8 kB / 0.6938 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009146/0.6727, allocations: 0.6031 MB / 0.6944 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004063/0.6731, allocations: 47.66 kB / 0.6945 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.598e-05/0.6732, allocations: 51.97 kB / 0.6945 GB, free: 6.012 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.0002656/0.6735, allocations: 185.5 kB / 0.6947 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.6736, allocations: 59.61 kB / 0.6948 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001678/0.6753, allocations: 0.6605 MB / 0.6954 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.6753, allocations: 4 kB / 0.6954 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.6754, allocations: 0 / 0.6954 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.6754, allocations: 4 kB / 0.6954 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001681/0.6771, allocations: 0.9791 MB / 0.6964 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.6771, allocations: 160 / 0.6964 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/0.6773, allocations: 59.89 kB / 0.6964 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001663/0.679, allocations: 252.5 kB / 0.6967 GB, free: 3.703 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.325e-05/0.679, allocations: 15.92 kB / 0.6967 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008775/0.6799, allocations: 0.607 MB / 0.6973 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.6799, allocations: 3.938 kB / 0.6973 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.6812, allocations: 0.5001 MB / 0.6978 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002007/0.6814, allocations: 132.7 kB / 0.6979 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.6815, allocations: 11.94 kB / 0.6979 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004374/0.682, allocations: 19.98 kB / 0.6979 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.6821, allocations: 31.83 kB / 0.698 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.456e-05/0.6821, allocations: 23.98 kB / 0.698 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004996/0.6826, allocations: 382.8 kB / 0.6983 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6826, allocations: 0 / 0.6983 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009094/0.6836, allocations: 263.5 kB / 0.6986 GB, free: 1.648 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.0009933/0.6846, allocations: 370.9 kB / 0.699 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001393/0.686, allocations: 372.6 kB / 0.6993 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.371e-06/0.686, allocations: 0 / 0.6993 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007122/0.6867, allocations: 163.8 kB / 0.6995 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/0.6883, allocations: 353 kB / 0.6998 GB, free: 424 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.6905, allocations: 0.9111 MB / 0.7007 GB, free: 15.46 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005188/0.691, allocations: 0.8549 MB / 0.7015 GB, free: 14.57 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006835/0.6917, allocations: 192.5 kB / 0.7017 GB, free: 14.39 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.6919, allocations: 79.39 kB / 0.7018 GB, free: 14.31 MB / 0.545 GB Notification: Performance of SimCode: time 8.12e-07/0.6919, allocations: 0 / 0.7018 GB, free: 14.31 MB / 0.545 GB Notification: Performance of Templates: time 0.02431/0.7162, allocations: 15.08 MB / 0.7165 GB, free: 15.24 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins/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