Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001355/0.001355, allocations: 114.8 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001711/0.00171, allocations: 202 kB / 18.73 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2322/0.2322, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 71.88 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4129/0.4146, allocations: 62.44 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2219/0.6365, allocations: 185.8 MB / 0.7124 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004442/0.641, allocations: 2.139 MB / 0.7145 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007675/0.6418, allocations: 15.88 kB / 0.7145 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.643, allocations: 294 kB / 0.7148 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004163/0.6472, allocations: 1.169 MB / 0.7159 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002127/0.6494, allocations: 0.6805 MB / 0.7166 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002143/0.6515, allocations: 1.484 MB / 0.7181 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008369/0.6524, allocations: 423.2 kB / 0.7185 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001201/0.6536, allocations: 0.5721 MB / 0.719 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008291/0.6544, allocations: 434.2 kB / 0.7194 GB, free: 112 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001521/0.6546, allocations: 48 kB / 0.7195 GB, free: 64 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4558/1.11, allocations: 0.7957 MB / 0.7203 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003882/1.111, allocations: 146.8 kB / 0.7204 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009002/1.112, allocations: 328 kB / 0.7207 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004095/1.116, allocations: 1.218 MB / 0.7219 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/1.116, allocations: 4.75 kB / 0.7219 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.928e-06/1.116, allocations: 0.5 kB / 0.7219 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.199e-05/1.116, allocations: 1.375 kB / 0.7219 GB, free: 4.105 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.002407/1.118, allocations: 1.007 MB / 0.7229 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.124e-05/1.118, allocations: 10.98 kB / 0.7229 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/1.12, allocations: 133 kB / 0.723 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009844/1.121, allocations: 467.3 kB / 0.7235 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.507e-05/1.121, allocations: 33.56 kB / 0.7235 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.891e-05/1.121, allocations: 41.16 kB / 0.7235 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/1.122, allocations: 0.5494 MB / 0.7241 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/1.122, allocations: 4.812 kB / 0.7241 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.257e-05/1.122, allocations: 18.12 kB / 0.7241 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/1.122, allocations: 11.34 kB / 0.7241 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009776/1.123, allocations: 408.4 kB / 0.7245 GB, free: 3.098 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.003777/1.127, allocations: 2.578 MB / 0.727 GB, free: 17.31 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007663/1.128, allocations: 293.6 kB / 0.7273 GB, free: 17.28 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000335/1.128, allocations: 151.7 kB / 0.7274 GB, free: 17.27 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004165/1.128, allocations: 354.1 kB / 0.7278 GB, free: 16.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.453e-05/1.128, allocations: 41.72 kB / 0.7278 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=29): time 2.234e-06/1.128, allocations: 0 / 0.7278 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29): time 0.002723/1.131, allocations: 0.7 MB / 0.7285 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.352e-05/1.131, allocations: 131.3 kB / 0.7286 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006017/1.132, allocations: 446.5 kB / 0.7291 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.463e-05/1.132, allocations: 32.42 kB / 0.7291 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/1.132, allocations: 277.5 kB / 0.7293 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.622e-05/1.132, allocations: 109.8 kB / 0.7295 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/1.132, allocations: 106.1 kB / 0.7296 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001874/1.133, allocations: 360 kB / 0.7299 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004443/1.133, allocations: 143.8 kB / 0.73 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004974/1.134, allocations: 276.7 kB / 0.7303 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008253/1.134, allocations: 424.5 kB / 0.7307 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/1.134, allocations: 1.438 kB / 0.7307 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001307/1.136, allocations: 0.5355 MB / 0.7312 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.327e-05/1.136, allocations: 5.719 kB / 0.7312 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/1.136, allocations: 5.469 kB / 0.7312 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002101/1.138, allocations: 270.7 kB / 0.7315 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004272/1.138, allocations: 105.2 kB / 0.7316 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009608/1.139, allocations: 0.6041 MB / 0.7322 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005438/1.14, allocations: 47.77 kB / 0.7322 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/1.14, allocations: 48.92 kB / 0.7323 GB, free: 14.95 MB / 0.5762 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.0003624/1.14, allocations: 177.1 kB / 0.7324 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/1.141, allocations: 53.89 kB / 0.7325 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002074/1.143, allocations: 1.028 MB / 0.7335 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/1.143, allocations: 6.938 kB / 0.7335 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/1.143, allocations: 6.344 kB / 0.7335 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/1.143, allocations: 4.672 kB / 0.7335 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/1.144, allocations: 0.9708 MB / 0.7345 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/1.144, allocations: 2.625 kB / 0.7345 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/1.145, allocations: 53.11 kB / 0.7345 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001644/1.146, allocations: 258.5 kB / 0.7348 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/1.146, allocations: 9.797 kB / 0.7348 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000842/1.147, allocations: 0.6036 MB / 0.7354 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/1.147, allocations: 3.719 kB / 0.7354 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/1.149, allocations: 0.505 MB / 0.7359 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001782/1.149, allocations: 142.9 kB / 0.736 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/1.149, allocations: 8.969 kB / 0.736 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003723/1.149, allocations: 21.52 kB / 0.736 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.627e-05/1.149, allocations: 27.12 kB / 0.7361 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.854e-05/1.149, allocations: 20.25 kB / 0.7361 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004581/1.15, allocations: 387.4 kB / 0.7364 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/1.15, allocations: 0 / 0.7364 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008991/1.151, allocations: 224.3 kB / 0.7367 GB, free: 13.32 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.0007581/1.151, allocations: 292.1 kB / 0.7369 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001322/1.153, allocations: 371.7 kB / 0.7373 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/1.153, allocations: 0.7812 kB / 0.7373 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006845/1.154, allocations: 160.3 kB / 0.7374 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/1.155, allocations: 348.7 kB / 0.7378 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/1.157, allocations: 0.9051 MB / 0.7387 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/1.157, allocations: 0.843 MB / 0.7395 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009321/1.158, allocations: 0.5518 MB / 0.74 GB, free: 12 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000239/1.159, allocations: 91.25 kB / 0.7401 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/1.159, allocations: 0 / 0.7401 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of Templates: time 0.02366/1.182, allocations: 14.24 MB / 0.754 GB, free: 11.16 MB / 0.5762 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches