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.001232/0.001232, allocations: 92.31 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002108/0.002107, allocations: 205.7 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2087/0.2087, allocations: 45.91 MB / 344 MB, free: 12.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000244/0.0002441, allocations: 8 kB / 417.9 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1294, allocations: 63.46 MB / 481.4 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4219/0.5513, allocations: 146.9 MB / 0.6136 GB, free: 2.543 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005412/0.5568, allocations: 2.94 MB / 0.6164 GB, free: 15.6 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006814/0.5575, allocations: 19.81 kB / 0.6165 GB, free: 15.58 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009111/0.5585, allocations: 238.8 kB / 0.6167 GB, free: 15.34 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002904/0.5614, allocations: 0.9225 MB / 0.6176 GB, free: 14.42 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001572/0.563, allocations: 0.5401 MB / 0.6181 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001525/0.5645, allocations: 0.863 MB / 0.619 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000671/0.5652, allocations: 346 kB / 0.6193 GB, free: 12.68 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/0.5663, allocations: 490.5 kB / 0.6198 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005662/0.5669, allocations: 318.8 kB / 0.6201 GB, free: 11.89 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.567, allocations: 24 kB / 0.6201 GB, free: 11.87 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001603/0.5686, allocations: 0.6476 MB / 0.6207 GB, free: 11.22 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002168/0.5689, allocations: 123.5 kB / 0.6208 GB, free: 11.1 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002054/0.5691, allocations: 137.5 kB / 0.621 GB, free: 10.96 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001203/0.5703, allocations: 0.8322 MB / 0.6218 GB, free: 10.13 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.5703, allocations: 0 / 0.6218 GB, free: 10.13 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.5703, allocations: 0 / 0.6218 GB, free: 10.13 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.5703, allocations: 0 / 0.6218 GB, free: 10.13 MB / 462.1 MB 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.001665/0.572, allocations: 0.8577 MB / 0.6226 GB, free: 9.223 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.572, allocations: 8.031 kB / 0.6226 GB, free: 9.215 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.5731, allocations: 139.1 kB / 0.6228 GB, free: 9.078 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000728/0.5738, allocations: 417 kB / 0.6232 GB, free: 8.629 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.317e-05/0.5739, allocations: 33.94 kB / 0.6232 GB, free: 8.598 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.531e-05/0.574, allocations: 36 kB / 0.6232 GB, free: 8.562 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009941/0.575, allocations: 0.5593 MB / 0.6238 GB, free: 7.965 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.575, allocations: 0 / 0.6238 GB, free: 7.965 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.339e-05/0.5751, allocations: 23.94 kB / 0.6238 GB, free: 7.941 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.5751, allocations: 8 kB / 0.6238 GB, free: 7.934 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008597/0.576, allocations: 423.6 kB / 0.6242 GB, free: 7.52 MB / 462.1 MB 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.003122/0.5791, allocations: 2.561 MB / 0.6267 GB, free: 4.738 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000683/0.5798, allocations: 298.8 kB / 0.627 GB, free: 4.438 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007052/0.5805, allocations: 445.5 kB / 0.6274 GB, free: 3.91 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.943e-05/0.5806, allocations: 43.7 kB / 0.6275 GB, free: 3.859 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 2.685e-06/0.5806, allocations: 0 / 0.6275 GB, free: 3.859 MB / 462.1 MB Notification: Performance of matching and sorting (n=29): time 0.002508/0.5831, allocations: 0.7154 MB / 0.6282 GB, free: 3.117 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.944e-05/0.5833, allocations: 136.5 kB / 0.6283 GB, free: 2.953 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006803/0.5839, allocations: 445.9 kB / 0.6287 GB, free: 2.508 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.451e-05/0.584, allocations: 37.7 kB / 0.6287 GB, free: 2.465 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.5842, allocations: 275.7 kB / 0.629 GB, free: 2.191 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.5844, allocations: 102.5 kB / 0.6291 GB, free: 2.09 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/0.5844, allocations: 8 kB / 0.6291 GB, free: 2.082 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.5845, allocations: 354.8 kB / 0.6295 GB, free: 1.727 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003934/0.5849, allocations: 151.9 kB / 0.6296 GB, free: 1.578 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004535/0.5854, allocations: 275.2 kB / 0.6299 GB, free: 1.254 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004336/0.5858, allocations: 180.9 kB / 0.63 GB, free: 1.078 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.5859, allocations: 7.938 kB / 0.63 GB, free: 1.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001233/0.5871, allocations: 0.5326 MB / 0.6306 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.5871, allocations: 8.438 kB / 0.6306 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.5872, allocations: 8 kB / 0.6306 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00204/0.5892, allocations: 320.5 kB / 0.6309 GB, free: 200 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003931/0.5896, allocations: 99.88 kB / 0.631 GB, free: 100 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009168/0.5905, allocations: 0.5991 MB / 0.6316 GB, free: 15.47 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004994/0.5911, allocations: 59.62 kB / 0.6316 GB, free: 15.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.839e-05/0.5912, allocations: 51.97 kB / 0.6317 GB, free: 15.36 MB / 478.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000325/0.5915, allocations: 181.7 kB / 0.6318 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.5916, allocations: 47.44 kB / 0.6319 GB, free: 15.13 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002306/0.5939, allocations: 1.048 MB / 0.6329 GB, free: 14.06 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.594, allocations: 0 / 0.6329 GB, free: 14.06 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.594, allocations: 0 / 0.6329 GB, free: 14.06 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.594, allocations: 4 kB / 0.6329 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001797/0.5958, allocations: 0.9635 MB / 0.6339 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.5958, allocations: 0 / 0.6339 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002472/0.5961, allocations: 55.89 kB / 0.6339 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002127/0.5982, allocations: 340.6 kB / 0.6342 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.732e-05/0.5982, allocations: 19.94 kB / 0.6342 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008477/0.5991, allocations: 0.5991 MB / 0.6348 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.5991, allocations: 7.875 kB / 0.6348 GB, free: 11.97 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.6004, allocations: 0.567 MB / 0.6354 GB, free: 11.34 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000241/0.6006, allocations: 148.2 kB / 0.6355 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.6008, allocations: 8 kB / 0.6355 GB, free: 11.17 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004968/0.6013, allocations: 35.97 kB / 0.6356 GB, free: 11.13 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.07e-05/0.6014, allocations: 27.91 kB / 0.6356 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-05/0.6014, allocations: 15.97 kB / 0.6356 GB, free: 11.09 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004982/0.6019, allocations: 358.8 kB / 0.636 GB, free: 10.74 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.62e-07/0.6019, allocations: 0 / 0.636 GB, free: 10.74 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009304/0.6029, allocations: 223.8 kB / 0.6362 GB, free: 10.52 MB / 478.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009461/0.6038, allocations: 314.7 kB / 0.6365 GB, free: 10.21 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001374/0.6052, allocations: 367.8 kB / 0.6368 GB, free: 9.848 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.6052, allocations: 0 / 0.6368 GB, free: 9.848 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006913/0.6059, allocations: 168.8 kB / 0.637 GB, free: 9.684 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/0.6074, allocations: 275.6 kB / 0.6373 GB, free: 9.422 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/0.6097, allocations: 1.058 MB / 0.6383 GB, free: 8.324 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.6101, allocations: 0.8628 MB / 0.6391 GB, free: 7.434 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001221/0.6113, allocations: 0.5389 MB / 0.6397 GB, free: 6.895 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002707/0.6116, allocations: 91.38 kB / 0.6397 GB, free: 6.805 MB / 478.1 MB Notification: Performance of SimCode: time 8.92e-07/0.6116, allocations: 0 / 0.6397 GB, free: 6.805 MB / 478.1 MB Notification: Performance of Templates: time 0.02568/0.6373, allocations: 12.11 MB / 0.6516 GB, free: 10.82 MB / 494.1 MB 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","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches