Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001089/0.001093, allocations: 106.4 kB / 17.78 MB, free: 5.289 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.001023/0.001023, allocations: 187.9 kB / 18.7 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2176/0.2176, allocations: 44.19 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 63.89 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.425/0.4263, allocations: 60.82 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2232/0.6496, allocations: 182.8 MB / 0.6975 GB, free: 4.605 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005876/0.6556, allocations: 2.138 MB / 0.6995 GB, free: 2.461 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008503/0.6565, allocations: 11.94 kB / 0.6996 GB, free: 2.449 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.6576, allocations: 301.9 kB / 0.6998 GB, free: 2.152 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004106/0.6618, allocations: 1.164 MB / 0.701 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001967/0.6637, allocations: 0.6774 MB / 0.7016 GB, free: 328 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002074/0.6658, allocations: 1.484 MB / 0.7031 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006103/0.6665, allocations: 415.5 kB / 0.7035 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009208/0.6674, allocations: 0.5683 MB / 0.704 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005748/0.668, allocations: 438.2 kB / 0.7045 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.764e-05/0.6681, allocations: 48 kB / 0.7045 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001879/0.67, allocations: 0.7957 MB / 0.7053 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.6701, allocations: 151.5 kB / 0.7054 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000327/0.6705, allocations: 322.5 kB / 0.7057 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001879/0.6724, allocations: 1.212 MB / 0.7069 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.6724, allocations: 3.938 kB / 0.7069 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.474e-06/0.6724, allocations: 0 / 0.7069 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.6724, allocations: 0 / 0.7069 GB, free: 10.88 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.001826/0.6742, allocations: 0.9818 MB / 0.7079 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.6743, allocations: 8.031 kB / 0.7079 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009674/0.6753, allocations: 131.3 kB / 0.708 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007954/0.6761, allocations: 468.5 kB / 0.7085 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/0.6761, allocations: 33 kB / 0.7085 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.458e-05/0.6762, allocations: 40 kB / 0.7085 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009901/0.6772, allocations: 0.5593 MB / 0.7091 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.6772, allocations: 3.938 kB / 0.7091 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-05/0.6773, allocations: 20 kB / 0.7091 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.6773, allocations: 12 kB / 0.7091 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008186/0.6781, allocations: 407.6 kB / 0.7095 GB, free: 8.113 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.002862/0.681, allocations: 2.569 MB / 0.712 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006036/0.6816, allocations: 290.6 kB / 0.7123 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002793/0.6819, allocations: 149 kB / 0.7124 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003672/0.6823, allocations: 360.3 kB / 0.7128 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.6823, allocations: 34.56 kB / 0.7128 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 2.094e-06/0.6823, allocations: 0 / 0.7128 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.002483/0.6848, allocations: 0.7029 MB / 0.7135 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.664e-05/0.6849, allocations: 136.5 kB / 0.7136 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005284/0.6855, allocations: 445.9 kB / 0.714 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.642e-05/0.6855, allocations: 37.7 kB / 0.7141 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002314/0.6858, allocations: 275.8 kB / 0.7143 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.6859, allocations: 102.5 kB / 0.7144 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001878/0.6861, allocations: 101.7 kB / 0.7145 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002164/0.6863, allocations: 354.8 kB / 0.7149 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003722/0.6867, allocations: 143.9 kB / 0.715 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004991/0.6872, allocations: 275.2 kB / 0.7153 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008606/0.6881, allocations: 421.5 kB / 0.7157 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.6881, allocations: 0 / 0.7157 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001157/0.6893, allocations: 0.5247 MB / 0.7162 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.6893, allocations: 11.94 kB / 0.7162 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.6893, allocations: 4.438 kB / 0.7162 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002038/0.6914, allocations: 276.4 kB / 0.7165 GB, free: 464 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004004/0.6918, allocations: 103.8 kB / 0.7166 GB, free: 360 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2858/0.9776, allocations: 0.601 MB / 0.7172 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005597/0.9782, allocations: 44.56 kB / 0.7172 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.9783, allocations: 48.55 kB / 0.7172 GB, free: 190.3 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.0002881/0.9786, allocations: 180.7 kB / 0.7174 GB, free: 190.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.9788, allocations: 49.41 kB / 0.7175 GB, free: 190.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00239/0.9812, allocations: 1.021 MB / 0.7185 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.9812, allocations: 3.594 kB / 0.7185 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.9812, allocations: 0.875 kB / 0.7185 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.9812, allocations: 1.781 kB / 0.7185 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001547/0.9828, allocations: 0.9722 MB / 0.7194 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.9828, allocations: 2.719 kB / 0.7194 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002528/0.983, allocations: 48.58 kB / 0.7195 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001838/0.9849, allocations: 262.9 kB / 0.7197 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/0.9849, allocations: 16 kB / 0.7197 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007723/0.9857, allocations: 0.6058 MB / 0.7203 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.9857, allocations: 1.375 kB / 0.7203 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.9869, allocations: 0.5143 MB / 0.7208 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.987, allocations: 135.1 kB / 0.721 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.9871, allocations: 8.703 kB / 0.721 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003764/0.9875, allocations: 17.56 kB / 0.721 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.073e-05/0.9876, allocations: 24.84 kB / 0.721 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-05/0.9877, allocations: 25.92 kB / 0.721 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004723/0.9881, allocations: 385.7 kB / 0.7214 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9881, allocations: 0 / 0.7214 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007485/0.9889, allocations: 223.6 kB / 0.7216 GB, free: 188.3 MB / 0.5606 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.0006308/0.9895, allocations: 292.2 kB / 0.7219 GB, free: 188.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001275/0.9908, allocations: 372.3 kB / 0.7222 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.9908, allocations: 3.938 kB / 0.7223 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007053/0.9915, allocations: 165.2 kB / 0.7224 GB, free: 188 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/0.993, allocations: 342.2 kB / 0.7227 GB, free: 188 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.9948, allocations: 0.8994 MB / 0.7236 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.9951, allocations: 0.8477 MB / 0.7244 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008636/0.996, allocations: 0.5431 MB / 0.725 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000227/0.9962, allocations: 94.05 kB / 0.7251 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of SimCode: time 5.61e-07/0.9962, allocations: 3.938 kB / 0.7251 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.02017/1.016, allocations: 14.42 MB / 0.7391 GB, free: 179.2 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches