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.0009239/0.0009241, allocations: 95.31 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001051/0.001051, allocations: 199 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 227.2 MB / 245.9 MB, free: 12.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2583/0.2583, allocations: 45.91 MB / 344 MB, free: 12.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003852/0.0003852, allocations: 4 kB / 417.9 MB, free: 20.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1824, allocations: 63.46 MB / 481.4 MB, free: 5.434 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure): time 0.04411/0.2266, allocations: 31.93 MB / 0.5013 GB, free: 5.418 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3651/0.5918, allocations: 18.38 MB / 0.5192 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009389/0.5928, allocations: 13.06 kB / 0.5193 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.5938, allocations: 243.5 kB / 0.5195 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01654/0.6104, allocations: 3.584 MB / 0.523 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006814/0.6172, allocations: 1.615 MB / 0.5246 GB, free: 12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002341/0.6196, allocations: 0.6801 MB / 0.5252 GB, free: 12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007375/0.6203, allocations: 279.8 kB / 0.5255 GB, free: 11.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01914/0.6395, allocations: 9.073 MB / 0.5344 GB, free: 11.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.6405, allocations: 248.2 kB / 0.5346 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.6406, allocations: 22.97 kB / 0.5346 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01768/0.6583, allocations: 7.117 MB / 0.5416 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000251/0.6586, allocations: 93 kB / 0.5417 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003383/0.659, allocations: 125.1 kB / 0.5418 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009532/0.6685, allocations: 3.053 MB / 0.5448 GB, free: 6.719 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.6686, allocations: 0 / 0.5448 GB, free: 6.719 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.55e-06/0.6686, allocations: 7.938 kB / 0.5448 GB, free: 6.711 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.6686, allocations: 3.938 kB / 0.5448 GB, free: 6.707 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.005251/0.6739, allocations: 1.225 MB / 0.546 GB, free: 5.488 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.881e-05/0.6739, allocations: 12.03 kB / 0.546 GB, free: 5.477 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001716/0.6757, allocations: 242.5 kB / 0.5462 GB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005036/0.6762, allocations: 387 kB / 0.5466 GB, free: 4.891 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.208e-05/0.6762, allocations: 31.81 kB / 0.5466 GB, free: 4.875 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.866e-05/0.6763, allocations: 41.31 kB / 0.5466 GB, free: 4.848 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.6777, allocations: 0.682 MB / 0.5473 GB, free: 4.262 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.6777, allocations: 4 kB / 0.5473 GB, free: 4.258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.167e-05/0.6778, allocations: 18.06 kB / 0.5473 GB, free: 4.254 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.6778, allocations: 12 kB / 0.5473 GB, free: 4.242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/0.6792, allocations: 0.5929 MB / 0.5479 GB, free: 3.781 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.003248/0.6825, allocations: 3.315 MB / 0.5512 GB, free: 272 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.6838, allocations: 458.4 kB / 0.5516 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1238/0.8076, allocations: 62.59 MB / 0.6127 GB, free: 9.352 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000168/0.8079, allocations: 34.5 kB / 0.6128 GB, free: 9.309 MB / 462.1 MB Notification: Performance of pre-optimization done (n=27): time 3.366e-06/0.8079, allocations: 0 / 0.6128 GB, free: 9.309 MB / 462.1 MB Notification: Performance of matching and sorting (n=27): time 0.003658/0.8115, allocations: 0.9341 MB / 0.6137 GB, free: 8.352 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.062e-05/0.8117, allocations: 106.8 kB / 0.6138 GB, free: 8.223 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007452/0.8124, allocations: 389.9 kB / 0.6141 GB, free: 7.84 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.697e-05/0.8125, allocations: 37.64 kB / 0.6142 GB, free: 7.797 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002376/0.8127, allocations: 259.6 kB / 0.6144 GB, free: 7.535 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.8128, allocations: 97.83 kB / 0.6145 GB, free: 7.441 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.188e-05/0.8129, allocations: 8 kB / 0.6145 GB, free: 7.434 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.8131, allocations: 350.8 kB / 0.6149 GB, free: 7.082 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003608/0.8135, allocations: 144.8 kB / 0.615 GB, free: 6.941 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005181/0.814, allocations: 313.7 kB / 0.6153 GB, free: 6.562 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006173/0.8146, allocations: 179.8 kB / 0.6155 GB, free: 6.387 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.8146, allocations: 3.953 kB / 0.6155 GB, free: 6.383 MB / 462.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00118/0.8158, allocations: 0.5352 MB / 0.616 GB, free: 5.84 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009124/0.8167, allocations: 2.006 MB / 0.618 GB, free: 3.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.8168, allocations: 4 kB / 0.618 GB, free: 3.676 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003289/0.8201, allocations: 378.3 kB / 0.6183 GB, free: 3.305 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004327/0.8205, allocations: 99.83 kB / 0.6184 GB, free: 3.207 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007198/0.8212, allocations: 0.6109 MB / 0.619 GB, free: 2.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005383/0.8218, allocations: 75.38 kB / 0.6191 GB, free: 2.496 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.375e-05/0.8219, allocations: 28.86 kB / 0.6191 GB, free: 2.469 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.8219, allocations: 8.062 kB / 0.6191 GB, free: 2.461 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009974/0.8229, allocations: 439 kB / 0.6195 GB, free: 2.035 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.8229, allocations: 8.031 kB / 0.6195 GB, free: 2.027 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.8229, allocations: 11.98 kB / 0.6196 GB, free: 2.016 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004151/0.8233, allocations: 116 kB / 0.6197 GB, free: 1.902 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.8234, allocations: 8 kB / 0.6197 GB, free: 1.895 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003485/0.8237, allocations: 71.56 kB / 0.6197 GB, free: 1.824 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.588e-05/0.8238, allocations: 27.98 kB / 0.6198 GB, free: 1.797 MB / 462.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 (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.0003455/0.8241, allocations: 250.1 kB / 0.62 GB, free: 1.547 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.048e-05/0.8242, allocations: 43.48 kB / 0.62 GB, free: 1.504 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002924/0.8271, allocations: 1.928 MB / 0.6219 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.719e-05/0.8272, allocations: 27.95 kB / 0.622 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.8272, allocations: 0 / 0.622 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.8272, allocations: 0 / 0.622 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.8283, allocations: 0.9798 MB / 0.6229 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.8283, allocations: 4 kB / 0.6229 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002819/0.8286, allocations: 71.88 kB / 0.623 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001604/0.8302, allocations: 0.6349 MB / 0.6236 GB, free: 13.81 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.41e-05/0.8303, allocations: 15.98 kB / 0.6236 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/0.8313, allocations: 1.022 MB / 0.6246 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.8313, allocations: 0 / 0.6246 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.8331, allocations: 1.317 MB / 0.6259 GB, free: 11.41 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003325/0.8334, allocations: 259.5 kB / 0.6262 GB, free: 11.13 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.109e-05/0.8335, allocations: 4 kB / 0.6262 GB, free: 11.13 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002988/0.8338, allocations: 43.91 kB / 0.6262 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.751e-05/0.8339, allocations: 35.91 kB / 0.6262 GB, free: 11.05 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.8339, allocations: 12 kB / 0.6262 GB, free: 11.04 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006031/0.8345, allocations: 378.8 kB / 0.6266 GB, free: 10.67 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8345, allocations: 0 / 0.6266 GB, free: 10.67 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004366/0.8389, allocations: 1.155 MB / 0.6277 GB, free: 9.512 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 (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.005347/0.8443, allocations: 1.21 MB / 0.6289 GB, free: 8.398 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001991/0.8463, allocations: 0.8232 MB / 0.6297 GB, free: 7.578 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.8463, allocations: 0 / 0.6297 GB, free: 7.578 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007042/0.847, allocations: 0.4894 MB / 0.6302 GB, free: 7.09 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/0.8485, allocations: 237.7 kB / 0.6304 GB, free: 6.859 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002678/0.8511, allocations: 1.913 MB / 0.6323 GB, free: 4.91 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006082/0.8518, allocations: 0.9913 MB / 0.6333 GB, free: 3.895 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008876/0.8527, allocations: 0.4936 MB / 0.6337 GB, free: 3.402 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.8528, allocations: 43.44 kB / 0.6338 GB, free: 3.359 MB / 478.1 MB Notification: Performance of SimCode: time 1.412e-06/0.8528, allocations: 0 / 0.6338 GB, free: 3.359 MB / 478.1 MB Notification: Performance of Templates: time 0.06557/0.9184, allocations: 41.16 MB / 0.674 GB, free: 10.27 MB / 0.5137 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestPressure/TestPressure.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches