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.0011/0.0011, allocations: 108 kB / 18.44 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001357/0.001357, allocations: 211.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2055/0.2055, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 83.81 kB / 482 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2926, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.1852/0.4778, allocations: 185.8 MB / 0.7131 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003926/0.4818, allocations: 2.128 MB / 0.7152 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005474/0.4824, allocations: 19.88 kB / 0.7152 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009121/0.4833, allocations: 297.9 kB / 0.7155 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003204/0.4866, allocations: 1.166 MB / 0.7166 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00174/0.4883, allocations: 0.6885 MB / 0.7173 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001851/0.4902, allocations: 1.484 MB / 0.7187 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000715/0.4909, allocations: 419.3 kB / 0.7191 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000992/0.4919, allocations: 0.576 MB / 0.7197 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000688/0.4926, allocations: 442.2 kB / 0.7201 GB, free: 88 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.4928, allocations: 48 kB / 0.7201 GB, free: 40 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2815/0.7743, allocations: 0.7966 MB / 0.7209 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002155/0.7745, allocations: 147.9 kB / 0.7211 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005107/0.7751, allocations: 325.2 kB / 0.7214 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002196/0.7773, allocations: 1.207 MB / 0.7226 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.7773, allocations: 1.25 kB / 0.7226 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7773, allocations: 0 / 0.7226 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.7773, allocations: 0.5 kB / 0.7226 GB, free: 4.109 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.001803/0.7791, allocations: 0.9913 MB / 0.7235 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.7792, allocations: 13.02 kB / 0.7235 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.7802, allocations: 136.3 kB / 0.7237 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006745/0.7809, allocations: 455 kB / 0.7241 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.7809, allocations: 32.06 kB / 0.7241 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.225e-05/0.781, allocations: 43.14 kB / 0.7242 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.7821, allocations: 0.5502 MB / 0.7247 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.7821, allocations: 1.156 kB / 0.7247 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.187e-05/0.7822, allocations: 21.72 kB / 0.7247 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.7822, allocations: 11.72 kB / 0.7247 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000884/0.7831, allocations: 409.7 kB / 0.7251 GB, free: 3.168 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.002857/0.786, allocations: 2.569 MB / 0.7276 GB, free: 17.39 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006102/0.7866, allocations: 292.6 kB / 0.7279 GB, free: 17.36 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002679/0.7869, allocations: 151.8 kB / 0.7281 GB, free: 17.36 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003251/0.7872, allocations: 354.9 kB / 0.7284 GB, free: 16.98 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.7873, allocations: 46.31 kB / 0.7285 GB, free: 16.94 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=29): time 1.864e-06/0.7873, allocations: 0 / 0.7285 GB, free: 16.94 MB / 0.5763 GB Notification: Performance of matching and sorting (n=29): time 0.002443/0.7897, allocations: 0.697 MB / 0.7291 GB, free: 16.78 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.764e-05/0.7898, allocations: 132.2 kB / 0.7293 GB, free: 16.62 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005303/0.7904, allocations: 447.8 kB / 0.7297 GB, free: 16.51 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 5.998e-05/0.7904, allocations: 31.58 kB / 0.7297 GB, free: 16.48 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.7906, allocations: 282.8 kB / 0.73 GB, free: 16.33 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 8.526e-05/0.7907, allocations: 101.9 kB / 0.7301 GB, free: 16.27 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/0.7909, allocations: 102.1 kB / 0.7302 GB, free: 16.25 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.791, allocations: 357.1 kB / 0.7305 GB, free: 15.94 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003933/0.7914, allocations: 144.1 kB / 0.7307 GB, free: 15.94 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004327/0.7919, allocations: 273.8 kB / 0.7309 GB, free: 15.79 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000768/0.7927, allocations: 424.3 kB / 0.7313 GB, free: 15.67 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.7927, allocations: 5.594 kB / 0.7313 GB, free: 15.67 MB / 0.5763 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001137/0.7938, allocations: 0.532 MB / 0.7318 GB, free: 15.59 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.7938, allocations: 7.188 kB / 0.7319 GB, free: 15.59 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.7939, allocations: 2.938 kB / 0.7319 GB, free: 15.59 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001971/0.7958, allocations: 272.7 kB / 0.7321 GB, free: 15.59 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003775/0.7962, allocations: 101.7 kB / 0.7322 GB, free: 15.59 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008816/0.7971, allocations: 0.602 MB / 0.7328 GB, free: 15.07 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004634/0.7976, allocations: 50.91 kB / 0.7329 GB, free: 15.05 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.401e-05/0.7977, allocations: 48.81 kB / 0.7329 GB, free: 15.05 MB / 0.5763 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.0002639/0.798, allocations: 178 kB / 0.7331 GB, free: 14.93 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.7981, allocations: 51.5 kB / 0.7331 GB, free: 14.91 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001749/0.7998, allocations: 1.028 MB / 0.7341 GB, free: 14.77 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.7998, allocations: 14.09 kB / 0.7341 GB, free: 14.76 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.7999, allocations: 1.031 kB / 0.7341 GB, free: 14.76 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.7999, allocations: 0 / 0.7341 GB, free: 14.76 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001445/0.8013, allocations: 0.9745 MB / 0.7351 GB, free: 14.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.8013, allocations: 0.7188 kB / 0.7351 GB, free: 14.4 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/0.8016, allocations: 51.56 kB / 0.7351 GB, free: 14.4 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001664/0.8032, allocations: 256.2 kB / 0.7354 GB, free: 14.39 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.8033, allocations: 17.03 kB / 0.7354 GB, free: 14.39 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008521/0.8041, allocations: 0.6019 MB / 0.736 GB, free: 13.87 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.8042, allocations: 7.906 kB / 0.736 GB, free: 13.87 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.8053, allocations: 0.5017 MB / 0.7365 GB, free: 13.66 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.8055, allocations: 135.5 kB / 0.7366 GB, free: 13.54 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.8056, allocations: 10.22 kB / 0.7366 GB, free: 13.54 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003889/0.806, allocations: 22.23 kB / 0.7366 GB, free: 13.53 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/0.806, allocations: 25.5 kB / 0.7367 GB, free: 13.53 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/0.8061, allocations: 17.95 kB / 0.7367 GB, free: 13.53 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0003898/0.8065, allocations: 388.3 kB / 0.7371 GB, free: 13.45 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8065, allocations: 1.094 kB / 0.7371 GB, free: 13.45 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0007631/0.8073, allocations: 219.7 kB / 0.7373 GB, free: 13.42 MB / 0.5763 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.0006671/0.8079, allocations: 291.7 kB / 0.7375 GB, free: 13.31 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.001234/0.8092, allocations: 375.2 kB / 0.7379 GB, free: 13.31 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.8092, allocations: 1 kB / 0.7379 GB, free: 13.31 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0006867/0.8099, allocations: 162.6 kB / 0.7381 GB, free: 13.3 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/0.8114, allocations: 343.8 kB / 0.7384 GB, free: 13.27 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.8133, allocations: 0.9276 MB / 0.7393 GB, free: 12.83 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.8137, allocations: 0.8468 MB / 0.7401 GB, free: 12.13 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003492/0.814, allocations: 118.2 kB / 0.7402 GB, free: 12.12 MB / 0.5763 GB Notification: Performance of SimCode: time 4.2e-07/0.814, allocations: 2.375 kB / 0.7402 GB, free: 12.12 MB / 0.5763 GB Notification: Performance of Templates: time 0.01549/0.8295, allocations: 13.27 MB / 0.7532 GB, free: 11.04 MB / 0.5763 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins1/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