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.001584/0.001584, allocations: 113.5 kB / 17.08 MB, free: 5.961 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.001795/0.001795, allocations: 198.4 kB / 18.02 MB, free: 5.047 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.304/1.304, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.2012/0.2012, allocations: 43.52 MB / 314.8 MB, free: 448 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.001462/0.001462, allocations: 67.91 kB / 442.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09726/0.09874, allocations: 57.79 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.3939/0.4927, allocations: 189.8 MB / 0.6739 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003734/0.4965, allocations: 2.139 MB / 0.676 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003047/0.4968, allocations: 11.94 kB / 0.676 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007741/0.4976, allocations: 297.9 kB / 0.6763 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00319/0.5008, allocations: 1.414 MB / 0.6777 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.5024, allocations: 0.6818 MB / 0.6783 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001478/0.5039, allocations: 1.469 MB / 0.6798 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005492/0.5044, allocations: 423.4 kB / 0.6802 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007145/0.5052, allocations: 0.5644 MB / 0.6807 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000453/0.5056, allocations: 442.2 kB / 0.6811 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.817e-05/0.5057, allocations: 51.98 kB / 0.6812 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001729/0.5075, allocations: 0.9985 MB / 0.6822 GB, free: 4.133 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.5076, allocations: 147.5 kB / 0.6823 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003263/0.508, allocations: 322.5 kB / 0.6826 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001539/0.5095, allocations: 1.328 MB / 0.6839 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.5095, allocations: 0 / 0.6839 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5096, allocations: 3.938 kB / 0.6839 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.5096, allocations: 0 / 0.6839 GB, free: 2.336 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.001591/0.5112, allocations: 1.025 MB / 0.6849 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.5112, allocations: 12.03 kB / 0.6849 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.5122, allocations: 139.2 kB / 0.6851 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000646/0.5129, allocations: 468.5 kB / 0.6855 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.5129, allocations: 29 kB / 0.6855 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.991e-05/0.513, allocations: 36.5 kB / 0.6856 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.514, allocations: 0.5483 MB / 0.6861 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.5141, allocations: 3.938 kB / 0.6861 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.582e-05/0.5141, allocations: 31.94 kB / 0.6861 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.5141, allocations: 8 kB / 0.6861 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008045/0.5149, allocations: 403.6 kB / 0.6865 GB, free: 15.53 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.002687/0.5176, allocations: 2.588 MB / 0.689 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006051/0.5183, allocations: 300.3 kB / 0.6893 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/0.5186, allocations: 148.8 kB / 0.6895 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001117/0.5197, allocations: 1.225 MB / 0.6907 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.5198, allocations: 34.56 kB / 0.6907 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=29): time 1.492e-06/0.5198, allocations: 7.938 kB / 0.6907 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=29): time 0.002355/0.5221, allocations: 0.692 MB / 0.6914 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.557e-05/0.5222, allocations: 144.5 kB / 0.6915 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004405/0.5227, allocations: 437.9 kB / 0.6919 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.693e-05/0.5227, allocations: 37.69 kB / 0.692 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.5229, allocations: 271.8 kB / 0.6922 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.666e-05/0.523, allocations: 98.58 kB / 0.6923 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/0.5232, allocations: 105.6 kB / 0.6924 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.5233, allocations: 358.8 kB / 0.6928 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003786/0.5237, allocations: 143.9 kB / 0.6929 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004677/0.5242, allocations: 283.2 kB / 0.6932 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008455/0.525, allocations: 416.8 kB / 0.6936 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.525, allocations: 4 kB / 0.6936 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00119/0.5262, allocations: 0.5213 MB / 0.6941 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.5263, allocations: 4 kB / 0.6941 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.5263, allocations: 7.938 kB / 0.6941 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002018/0.5283, allocations: 264.5 kB / 0.6944 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003652/0.5287, allocations: 103.9 kB / 0.6945 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008906/0.5296, allocations: 0.603 MB / 0.695 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000353/0.53, allocations: 47.52 kB / 0.6951 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.5301, allocations: 51.97 kB / 0.6951 GB, free: 6.031 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.0002077/0.5303, allocations: 189.5 kB / 0.6953 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.5304, allocations: 51.5 kB / 0.6954 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001623/0.532, allocations: 0.6603 MB / 0.696 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.5321, allocations: 4 kB / 0.696 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5321, allocations: 3.938 kB / 0.696 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5321, allocations: 0 / 0.696 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/0.5337, allocations: 0.979 MB / 0.697 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.5337, allocations: 0 / 0.697 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/0.534, allocations: 51.91 kB / 0.697 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00166/0.5356, allocations: 256.6 kB / 0.6973 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.046e-05/0.5357, allocations: 19.92 kB / 0.6973 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008427/0.5365, allocations: 0.5952 MB / 0.6979 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.5365, allocations: 7.969 kB / 0.6979 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.5377, allocations: 0.5075 MB / 0.6984 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.5379, allocations: 128.5 kB / 0.6985 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.425e-05/0.538, allocations: 15.84 kB / 0.6985 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003707/0.5383, allocations: 15.98 kB / 0.6985 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.033e-05/0.5384, allocations: 35.84 kB / 0.6986 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.518e-05/0.5385, allocations: 15.97 kB / 0.6986 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004054/0.5389, allocations: 386.8 kB / 0.6989 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5389, allocations: 0 / 0.6989 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007557/0.5396, allocations: 255.8 kB / 0.6992 GB, free: 1.684 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.0007608/0.5404, allocations: 377.3 kB / 0.6996 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001272/0.5417, allocations: 372.6 kB / 0.6999 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.5417, allocations: 4 kB / 0.6999 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007292/0.5424, allocations: 163.8 kB / 0.7001 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001568/0.544, allocations: 338.2 kB / 0.7004 GB, free: 464 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.5459, allocations: 0.9369 MB / 0.7013 GB, free: 15.46 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.5463, allocations: 0.8433 MB / 0.7021 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002642/0.5466, allocations: 103.3 kB / 0.7022 GB, free: 14.49 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.5466, allocations: 4 kB / 0.7022 GB, free: 14.49 MB / 0.545 GB Notification: Performance of Templates: time 0.01637/0.563, allocations: 13.69 MB / 0.7156 GB, free: 0.8047 MB / 0.545 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/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