Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.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.Sensors.TestFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|massFlowRate.m_flow|volumeFlowRate.V_flow|simpleGenericOrifice.port_b.m_flow|simpleGenericOrifice.port_b.p|simpleGenericOrifice.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|massFlowRate.m_flow|volumeFlowRate.V_flow|simpleGenericOrifice.port_b.m_flow|simpleGenericOrifice.port_b.p|simpleGenericOrifice.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009246/0.0009246, allocations: 96.91 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001011/0.001011, allocations: 207.1 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.505/1.505, 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.2763/0.2763, allocations: 45.91 MB / 344 MB, free: 12.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003137/0.0003137, allocations: 4 kB / 417.9 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1684, allocations: 63.45 MB / 481.4 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate): time 0.04695/0.2155, allocations: 35.97 MB / 0.5052 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3747/0.5902, allocations: 13.43 MB / 0.5183 GB, free: 12.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/0.5914, allocations: 16 kB / 0.5184 GB, free: 12.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.5925, allocations: 247.8 kB / 0.5186 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01711/0.6096, allocations: 3.636 MB / 0.5221 GB, free: 12.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008379/0.618, allocations: 1.734 MB / 0.5238 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002345/0.6204, allocations: 0.7053 MB / 0.5245 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006217/0.621, allocations: 287.1 kB / 0.5248 GB, free: 11.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00123/0.6223, allocations: 499.2 kB / 0.5253 GB, free: 11.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004581/0.6227, allocations: 272.9 kB / 0.5255 GB, free: 11.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.541e-05/0.6228, allocations: 22.31 kB / 0.5256 GB, free: 11.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02429/0.6471, allocations: 7.201 MB / 0.5326 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003652/0.6475, allocations: 108.2 kB / 0.5327 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004716/0.648, allocations: 131 kB / 0.5328 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01056/0.6586, allocations: 3.12 MB / 0.5359 GB, free: 9.996 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.6586, allocations: 0 / 0.5359 GB, free: 9.996 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.6586, allocations: 0 / 0.5359 GB, free: 9.996 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.6586, allocations: 1.375 kB / 0.5359 GB, free: 9.996 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.005398/0.664, allocations: 1.275 MB / 0.5371 GB, free: 9.117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.6641, allocations: 8.781 kB / 0.5371 GB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002227/0.6663, allocations: 300.2 kB / 0.5374 GB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000656/0.667, allocations: 403.2 kB / 0.5378 GB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.205e-05/0.6671, allocations: 34 kB / 0.5378 GB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.896e-05/0.6671, allocations: 39.44 kB / 0.5379 GB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.6687, allocations: 0.6924 MB / 0.5385 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.6688, allocations: 2.469 kB / 0.5385 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.168e-05/0.6688, allocations: 18.22 kB / 0.5386 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.6688, allocations: 12.31 kB / 0.5386 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001486/0.6703, allocations: 0.6169 MB / 0.5392 GB, free: 8.281 MB / 382.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.003421/0.6738, allocations: 2.979 MB / 0.5421 GB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/0.6751, allocations: 0.4925 MB / 0.5426 GB, free: 5.816 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08978/0.7649, allocations: 44.73 MB / 0.5862 GB, free: 6.266 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001091/0.7651, allocations: 42.56 kB / 0.5863 GB, free: 6.215 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 3.016e-06/0.7651, allocations: 0 / 0.5863 GB, free: 6.215 MB / 430.1 MB Notification: Performance of matching and sorting (n=30): time 0.003439/0.7685, allocations: 0.9993 MB / 0.5873 GB, free: 5.188 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.25e-05/0.7687, allocations: 110.8 kB / 0.5874 GB, free: 5.055 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005412/0.7692, allocations: 409.8 kB / 0.5878 GB, free: 4.648 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.718e-05/0.7693, allocations: 33.64 kB / 0.5878 GB, free: 4.609 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/0.7695, allocations: 243.9 kB / 0.588 GB, free: 4.367 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.873e-05/0.7696, allocations: 103 kB / 0.5881 GB, free: 4.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.217e-05/0.7696, allocations: 8 kB / 0.5881 GB, free: 4.262 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.7698, allocations: 354.7 kB / 0.5885 GB, free: 3.906 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003488/0.7701, allocations: 147.9 kB / 0.5886 GB, free: 3.762 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000483/0.7706, allocations: 276 kB / 0.5889 GB, free: 3.441 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003842/0.771, allocations: 167.9 kB / 0.589 GB, free: 3.277 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.771, allocations: 0 / 0.589 GB, free: 3.277 MB / 430.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001062/0.7721, allocations: 0.5052 MB / 0.5895 GB, free: 2.762 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007264/0.7729, allocations: 1.318 MB / 0.5908 GB, free: 1.344 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.7729, allocations: 0 / 0.5908 GB, free: 1.344 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003071/0.7759, allocations: 380.5 kB / 0.5912 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003611/0.7763, allocations: 83.89 kB / 0.5913 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007053/0.777, allocations: 0.6069 MB / 0.5918 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004856/0.7775, allocations: 76.44 kB / 0.5919 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.904e-05/0.7776, allocations: 23.98 kB / 0.5919 GB, free: 164 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.7776, allocations: 4 kB / 0.5919 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008867/0.7785, allocations: 415.3 kB / 0.5923 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.7785, allocations: 4 kB / 0.5923 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.686e-06/0.7785, allocations: 8.188 kB / 0.5924 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/0.7789, allocations: 112.3 kB / 0.5925 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.779, allocations: 4 kB / 0.5925 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003191/0.7793, allocations: 63.56 kB / 0.5925 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.288e-05/0.7793, allocations: 23.98 kB / 0.5925 GB, free: 15.54 MB / 446.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: 4 (boundary_fixed.medium.phase,massFlowRate1.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003657/0.7797, allocations: 251.5 kB / 0.5928 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.7799, allocations: 47.44 kB / 0.5928 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002792/0.7827, allocations: 2.033 MB / 0.5948 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-05/0.7827, allocations: 27.95 kB / 0.5948 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.7827, allocations: 0 / 0.5948 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.535e-06/0.7827, allocations: 7.922 kB / 0.5949 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.784, allocations: 1.017 MB / 0.5958 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.784, allocations: 0 / 0.5958 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002993/0.7843, allocations: 79.94 kB / 0.5959 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001547/0.7858, allocations: 0.6321 MB / 0.5965 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-05/0.7859, allocations: 15.98 kB / 0.5966 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008904/0.7868, allocations: 1.007 MB / 0.5975 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.7868, allocations: 32 / 0.5975 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001668/0.7885, allocations: 1.345 MB / 0.5989 GB, free: 8.984 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003467/0.7888, allocations: 259.4 kB / 0.5991 GB, free: 8.711 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.224e-05/0.7889, allocations: 7.953 kB / 0.5991 GB, free: 8.703 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003117/0.7892, allocations: 39.88 kB / 0.5991 GB, free: 8.664 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.7894, allocations: 39.88 kB / 0.5992 GB, free: 8.625 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.7894, allocations: 12 kB / 0.5992 GB, free: 8.613 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004702/0.7899, allocations: 390.8 kB / 0.5996 GB, free: 8.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.7899, allocations: 0 / 0.5996 GB, free: 8.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005262/0.7951, allocations: 1.159 MB / 0.6007 GB, free: 7.07 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse4.region3boundary,$cse5.region3boundary,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,massFlowRate1.medium.phase,boundary_fixed.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.008479/0.8036, allocations: 1.225 MB / 0.6019 GB, free: 5.941 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002089/0.8058, allocations: 0.8106 MB / 0.6027 GB, free: 5.133 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.8058, allocations: 4 kB / 0.6027 GB, free: 5.129 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007447/0.8066, allocations: 496.8 kB / 0.6032 GB, free: 4.648 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001706/0.8083, allocations: 271.1 kB / 0.6034 GB, free: 4.391 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003346/0.8116, allocations: 1.966 MB / 0.6053 GB, free: 2.402 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008916/0.8126, allocations: 1.007 MB / 0.6063 GB, free: 1.367 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00112/0.8137, allocations: 0.5562 MB / 0.6069 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.8138, allocations: 51.42 kB / 0.6069 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of SimCode: time 1.323e-06/0.8139, allocations: 4 kB / 0.6069 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of Templates: time 0.07332/0.8872, allocations: 42 MB / 0.6479 GB, free: 6.875 MB / 494.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestFlowRate/TestFlowRate.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches