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.001069/0.001073, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00107/0.00107, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2018/0.2018, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 79.88 kB / 481.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3444, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2017/0.5461, allocations: 185.8 MB / 0.7124 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004218/0.5504, allocations: 2.135 MB / 0.7145 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004384/0.5509, allocations: 15.88 kB / 0.7145 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008685/0.5517, allocations: 301.9 kB / 0.7148 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003079/0.5549, allocations: 1.163 MB / 0.7159 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001647/0.5565, allocations: 0.6787 MB / 0.7166 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001604/0.5581, allocations: 1.488 MB / 0.7181 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005597/0.5587, allocations: 419.3 kB / 0.7185 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008186/0.5595, allocations: 0.5799 MB / 0.719 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005098/0.5601, allocations: 434.2 kB / 0.7194 GB, free: 108 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.375e-05/0.5601, allocations: 48 kB / 0.7195 GB, free: 60 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3056/0.8657, allocations: 0.7996 MB / 0.7203 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002685/0.8661, allocations: 145 kB / 0.7204 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005892/0.8667, allocations: 327.7 kB / 0.7207 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001896/0.8686, allocations: 1.209 MB / 0.7219 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.8686, allocations: 0.625 kB / 0.7219 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8686, allocations: 0.5 kB / 0.7219 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.8686, allocations: 0.5625 kB / 0.7219 GB, free: 4.098 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.001578/0.8702, allocations: 0.99 MB / 0.7229 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.8702, allocations: 11.77 kB / 0.7229 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000952/0.8712, allocations: 138.1 kB / 0.723 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006947/0.8719, allocations: 458.8 kB / 0.7234 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.694e-05/0.8719, allocations: 32.28 kB / 0.7235 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.247e-05/0.872, allocations: 35.84 kB / 0.7235 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.873, allocations: 0.557 MB / 0.724 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.8731, allocations: 1 kB / 0.7241 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.9e-05/0.8731, allocations: 20.56 kB / 0.7241 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.8732, allocations: 12.03 kB / 0.7241 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.8742, allocations: 410.9 kB / 0.7245 GB, free: 3.156 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.003524/0.8777, allocations: 2.575 MB / 0.727 GB, free: 17.38 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006939/0.8784, allocations: 290.9 kB / 0.7273 GB, free: 17.35 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003091/0.8788, allocations: 147.3 kB / 0.7274 GB, free: 17.34 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003732/0.8791, allocations: 351.7 kB / 0.7277 GB, free: 16.97 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/0.8792, allocations: 44.97 kB / 0.7278 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=29): time 1.903e-06/0.8792, allocations: 1.031 kB / 0.7278 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29): time 0.002542/0.8817, allocations: 0.6967 MB / 0.7285 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.928e-05/0.8818, allocations: 136.2 kB / 0.7286 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005482/0.8824, allocations: 439.7 kB / 0.729 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.731e-05/0.8825, allocations: 31.58 kB / 0.729 GB, free: 16.47 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.8827, allocations: 287.5 kB / 0.7293 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.842e-05/0.8828, allocations: 99.86 kB / 0.7294 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001691/0.8829, allocations: 103.7 kB / 0.7295 GB, free: 16.24 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.8831, allocations: 354.8 kB / 0.7299 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003723/0.8835, allocations: 148.7 kB / 0.73 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004339/0.8839, allocations: 272.8 kB / 0.7303 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007625/0.8847, allocations: 430 kB / 0.7307 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.8847, allocations: 0.9062 kB / 0.7307 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00111/0.8858, allocations: 0.5283 MB / 0.7312 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.8858, allocations: 8.094 kB / 0.7312 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.8859, allocations: 3.781 kB / 0.7312 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001932/0.8878, allocations: 277.5 kB / 0.7315 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003759/0.8882, allocations: 104.6 kB / 0.7316 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008708/0.8891, allocations: 0.5991 MB / 0.7321 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004588/0.8895, allocations: 55.69 kB / 0.7322 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.467e-05/0.8896, allocations: 46.86 kB / 0.7322 GB, free: 15.04 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.0002973/0.8899, allocations: 176.7 kB / 0.7324 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.89, allocations: 52.78 kB / 0.7325 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001788/0.8918, allocations: 1.027 MB / 0.7335 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.8919, allocations: 10.12 kB / 0.7335 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.8919, allocations: 0 / 0.7335 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.8919, allocations: 4.859 kB / 0.7335 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/0.8934, allocations: 0.9636 MB / 0.7344 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.8934, allocations: 9.344 kB / 0.7344 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/0.8937, allocations: 49.94 kB / 0.7345 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001639/0.8953, allocations: 255.4 kB / 0.7347 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/0.8954, allocations: 12.36 kB / 0.7347 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008236/0.8962, allocations: 0.5979 MB / 0.7353 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.8962, allocations: 5.078 kB / 0.7353 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.8973, allocations: 0.5065 MB / 0.7358 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.8975, allocations: 133.2 kB / 0.7359 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.8976, allocations: 17.41 kB / 0.736 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003684/0.898, allocations: 19.98 kB / 0.736 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.965e-05/0.8981, allocations: 28.45 kB / 0.736 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-05/0.8981, allocations: 20.38 kB / 0.736 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004195/0.8985, allocations: 383.8 kB / 0.7364 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8985, allocations: 0.6562 kB / 0.7364 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007918/0.8993, allocations: 225.8 kB / 0.7366 GB, free: 13.41 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.0006962/0.9, allocations: 290.2 kB / 0.7369 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00125/0.9013, allocations: 371.9 kB / 0.7372 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.9013, allocations: 1.062 kB / 0.7372 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006523/0.902, allocations: 169.4 kB / 0.7374 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/0.9035, allocations: 338.8 kB / 0.7377 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.9053, allocations: 0.8953 MB / 0.7386 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.9057, allocations: 0.846 MB / 0.7394 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008761/0.9066, allocations: 0.5502 MB / 0.74 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.9068, allocations: 96.48 kB / 0.74 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of SimCode: time 4.41e-07/0.9068, allocations: 0.9375 kB / 0.7401 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of Templates: time 0.01978/0.9266, allocations: 14.23 MB / 0.7539 GB, free: 11.27 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