Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.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.TestPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pressure1.p|pressure2.p|relativePressure.p_rel|simpleGenericOrifice.port_b.m_flow|simpleGenericOrifice.port_b.p|simpleGenericOrifice.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pressure1.p|pressure2.p|relativePressure.p_rel|simpleGenericOrifice.port_b.m_flow|simpleGenericOrifice.port_b.p|simpleGenericOrifice.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001085/0.001085, allocations: 96.03 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001681/0.001681, allocations: 204.8 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.7 MB / 247.5 MB, free: 11.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2052/0.2052, allocations: 46.18 MB / 345.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002537/0.0002539, allocations: 8 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1105, allocations: 63.55 MB / 483.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure): time 0.2677/0.3782, allocations: 38.01 MB / 0.5095 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02418/0.4024, allocations: 22.38 MB / 0.5314 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00058/0.403, allocations: 10.25 kB / 0.5314 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000775/0.4038, allocations: 257.4 kB / 0.5316 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01176/0.4156, allocations: 3.706 MB / 0.5352 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005311/0.4209, allocations: 1.725 MB / 0.5369 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001647/0.4226, allocations: 1.511 MB / 0.5384 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004374/0.423, allocations: 285.7 kB / 0.5387 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00968/0.4327, allocations: 5.63 MB / 0.5442 GB, free: 5.703 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007484/0.4335, allocations: 339.2 kB / 0.5445 GB, free: 5.547 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.89e-05/0.4335, allocations: 20.62 kB / 0.5445 GB, free: 5.547 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01288/0.4464, allocations: 7.241 MB / 0.5516 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.4466, allocations: 99.39 kB / 0.5517 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003374/0.447, allocations: 278 kB / 0.5519 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004941/0.4519, allocations: 3.079 MB / 0.555 GB, free: 15.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4519, allocations: 0 / 0.555 GB, free: 15.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4519, allocations: 0 / 0.555 GB, free: 15.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.452, allocations: 3.938 kB / 0.555 GB, free: 15.6 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.003041/0.455, allocations: 1.227 MB / 0.5562 GB, free: 14.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.4551, allocations: 12.03 kB / 0.5562 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001741/0.4568, allocations: 252 kB / 0.5564 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004948/0.4573, allocations: 392.4 kB / 0.5568 GB, free: 13.67 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.929e-05/0.4574, allocations: 37.38 kB / 0.5568 GB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.415e-05/0.4574, allocations: 40.38 kB / 0.5569 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/0.459, allocations: 0.6924 MB / 0.5575 GB, free: 12.85 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.459, allocations: 11.94 kB / 0.5575 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.929e-05/0.4591, allocations: 20 kB / 0.5576 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.4591, allocations: 15.94 kB / 0.5576 GB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/0.4606, allocations: 0.5879 MB / 0.5582 GB, free: 12.21 MB / 398.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.003606/0.4643, allocations: 3.298 MB / 0.5614 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/0.4656, allocations: 472.2 kB / 0.5618 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004073/0.466, allocations: 188.7 kB / 0.562 GB, free: 8.031 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1174/0.5835, allocations: 62.6 MB / 0.6231 GB, free: 1.566 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/0.5835, allocations: 38.55 kB / 0.6232 GB, free: 1.52 MB / 462.1 MB Notification: Performance of pre-optimization done (n=27): time 2.375e-06/0.5836, allocations: 0 / 0.6232 GB, free: 1.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=27): time 0.003148/0.5867, allocations: 0.9444 MB / 0.6241 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.553e-05/0.5868, allocations: 102.8 kB / 0.6242 GB, free: 432 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004759/0.5873, allocations: 393.9 kB / 0.6246 GB, free: 28 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.919e-05/0.5873, allocations: 33.7 kB / 0.6246 GB, free: 15.99 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.5875, allocations: 258.6 kB / 0.6248 GB, free: 15.73 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.203e-05/0.5876, allocations: 93.73 kB / 0.6249 GB, free: 15.64 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.996e-05/0.5877, allocations: 41.69 kB / 0.625 GB, free: 15.6 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.5878, allocations: 354.7 kB / 0.6253 GB, free: 15.24 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003754/0.5882, allocations: 148.8 kB / 0.6255 GB, free: 15.1 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004742/0.5887, allocations: 321.7 kB / 0.6258 GB, free: 14.71 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008435/0.5896, allocations: 471.3 kB / 0.6262 GB, free: 14.18 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.022e-06/0.5896, allocations: 4 kB / 0.6262 GB, free: 14.17 MB / 478.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001163/0.5907, allocations: 0.54 MB / 0.6267 GB, free: 13.62 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001522/0.5909, allocations: 244.4 kB / 0.627 GB, free: 13.31 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.5909, allocations: 7.938 kB / 0.627 GB, free: 13.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003382/0.5943, allocations: 370.9 kB / 0.6273 GB, free: 12.94 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003633/0.5947, allocations: 103.8 kB / 0.6274 GB, free: 12.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005056/0.5952, allocations: 0.6031 MB / 0.628 GB, free: 12.21 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000411/0.5956, allocations: 83.47 kB / 0.6281 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.971e-05/0.5957, allocations: 28.06 kB / 0.6281 GB, free: 12.1 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.5957, allocations: 7.938 kB / 0.6281 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000953/0.5967, allocations: 451.1 kB / 0.6286 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.5967, allocations: 4 kB / 0.6286 GB, free: 11.65 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.5967, allocations: 11.94 kB / 0.6286 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000409/0.5971, allocations: 119.8 kB / 0.6287 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.5971, allocations: 11.94 kB / 0.6287 GB, free: 11.51 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003492/0.5975, allocations: 67.75 kB / 0.6288 GB, free: 11.45 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-05/0.5975, allocations: 20 kB / 0.6288 GB, free: 11.43 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (45): * Single equations (assignments): 44 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000248/0.5978, allocations: 249.8 kB / 0.629 GB, free: 11.17 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.212e-05/0.5979, allocations: 39.53 kB / 0.6291 GB, free: 11.13 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002493/0.6004, allocations: 1.926 MB / 0.631 GB, free: 9.195 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.024e-05/0.6004, allocations: 27.95 kB / 0.631 GB, free: 9.168 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.6004, allocations: 0 / 0.631 GB, free: 9.168 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.6005, allocations: 3.984 kB / 0.631 GB, free: 9.164 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.6015, allocations: 0.9732 MB / 0.6319 GB, free: 8.145 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.6015, allocations: 3.938 kB / 0.6319 GB, free: 8.141 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002815/0.6018, allocations: 79.94 kB / 0.632 GB, free: 8.062 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001473/0.6033, allocations: 0.6423 MB / 0.6326 GB, free: 7.422 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.6033, allocations: 7.984 kB / 0.6326 GB, free: 7.414 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008202/0.6042, allocations: 1.019 MB / 0.6336 GB, free: 6.367 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.6042, allocations: 4.031 kB / 0.6336 GB, free: 6.363 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.6058, allocations: 1.324 MB / 0.6349 GB, free: 5.016 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002695/0.6061, allocations: 259.4 kB / 0.6352 GB, free: 4.742 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.92e-05/0.6062, allocations: 11.98 kB / 0.6352 GB, free: 4.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003087/0.6065, allocations: 31.98 kB / 0.6352 GB, free: 4.699 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.914e-05/0.6066, allocations: 31.89 kB / 0.6353 GB, free: 4.668 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.6066, allocations: 15.98 kB / 0.6353 GB, free: 4.652 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004218/0.6071, allocations: 382.8 kB / 0.6356 GB, free: 4.277 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6071, allocations: 4 kB / 0.6356 GB, free: 4.273 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003111/0.6102, allocations: 1.144 MB / 0.6368 GB, free: 3.129 MB / 478.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,$cse12.phase,$cse12.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 (30): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004773/0.615, allocations: 1.215 MB / 0.6379 GB, free: 2.004 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001707/0.6167, allocations: 0.831 MB / 0.6388 GB, free: 1.176 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.6167, allocations: 0 / 0.6388 GB, free: 1.176 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006898/0.6174, allocations: 0.4972 MB / 0.6392 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.6187, allocations: 222.1 kB / 0.6395 GB, free: 476 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/0.6212, allocations: 1.977 MB / 0.6414 GB, free: 14.45 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005383/0.6218, allocations: 0.9755 MB / 0.6423 GB, free: 13.45 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.6219, allocations: 47.44 kB / 0.6424 GB, free: 13.4 MB / 494.1 MB Notification: Performance of SimCode: time 5.21e-07/0.6219, allocations: 0 / 0.6424 GB, free: 13.4 MB / 494.1 MB Notification: Performance of Templates: time 0.04292/0.6648, allocations: 28.26 MB / 0.67 GB, free: 1.152 MB / 0.4981 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestPressure/TestPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches