Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0016/0.001606, allocations: 183.5 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001215/0.001216, allocations: 94.86 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.53/0.53, allocations: 43.56 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004725/0.0004727, allocations: 12 kB / 431.4 MB, free: 6.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1318, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate): time 0.3849/0.5167, allocations: 35.89 MB / 0.5138 GB, free: 25.42 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02206/0.5388, allocations: 13.42 MB / 0.5269 GB, free: 16.08 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009151/0.5398, allocations: 16.97 kB / 0.5269 GB, free: 16.07 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.5409, allocations: 251 kB / 0.5271 GB, free: 15.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01534/0.5563, allocations: 3.612 MB / 0.5307 GB, free: 14.19 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007441/0.5638, allocations: 1.732 MB / 0.5324 GB, free: 13.23 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00172/0.5655, allocations: 0.7044 MB / 0.533 GB, free: 12.86 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006028/0.5661, allocations: 293.2 kB / 0.5333 GB, free: 12.76 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001357/0.5675, allocations: 485.9 kB / 0.5338 GB, free: 12.53 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005102/0.568, allocations: 275.1 kB / 0.5341 GB, free: 12.42 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.618e-05/0.5681, allocations: 21.62 kB / 0.5341 GB, free: 12.42 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01931/0.5874, allocations: 7.194 MB / 0.5411 GB, free: 10.81 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002646/0.5878, allocations: 99.61 kB / 0.5412 GB, free: 10.76 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002652/0.588, allocations: 125.7 kB / 0.5413 GB, free: 10.68 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009579/0.5976, allocations: 3.107 MB / 0.5443 GB, free: 10.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.5977, allocations: 3.031 kB / 0.5444 GB, free: 10.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.5977, allocations: 0 / 0.5444 GB, free: 10.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.5977, allocations: 0 / 0.5444 GB, free: 10.07 MB / 378.7 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.005851/0.6036, allocations: 1.267 MB / 0.5456 GB, free: 9.238 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.6037, allocations: 11.31 kB / 0.5456 GB, free: 9.238 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003044/0.6067, allocations: 286.3 kB / 0.5459 GB, free: 9.188 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009025/0.6076, allocations: 403.5 kB / 0.5463 GB, free: 8.875 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.793e-05/0.6077, allocations: 35.09 kB / 0.5463 GB, free: 8.859 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-05/0.6078, allocations: 37 kB / 0.5463 GB, free: 8.848 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002574/0.6104, allocations: 0.6898 MB / 0.547 GB, free: 8.543 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/0.6105, allocations: 3.938 kB / 0.547 GB, free: 8.539 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.56e-05/0.6106, allocations: 21.28 kB / 0.547 GB, free: 8.523 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.6106, allocations: 10.25 kB / 0.547 GB, free: 8.523 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002805/0.6134, allocations: 0.6114 MB / 0.5476 GB, free: 8.336 MB / 378.7 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.005332/0.6188, allocations: 3.002 MB / 0.5506 GB, free: 5.602 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002363/0.6212, allocations: 0.4905 MB / 0.551 GB, free: 5.355 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1457/0.7669, allocations: 40.31 MB / 0.5904 GB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.322e-05/0.767, allocations: 35.06 kB / 0.5904 GB, free: 14.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 2.785e-06/0.767, allocations: 4 kB / 0.5904 GB, free: 14.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.005451/0.7724, allocations: 1.011 MB / 0.5914 GB, free: 13.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.718e-05/0.7726, allocations: 102.8 kB / 0.5915 GB, free: 13.81 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008375/0.7734, allocations: 409.9 kB / 0.5919 GB, free: 13.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.7736, allocations: 29.7 kB / 0.5919 GB, free: 13.37 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000261/0.7738, allocations: 286.3 kB / 0.5922 GB, free: 13.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.774, allocations: 98.64 kB / 0.5923 GB, free: 12.99 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.774, allocations: 8 kB / 0.5923 GB, free: 12.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.7742, allocations: 330.8 kB / 0.5926 GB, free: 12.65 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007068/0.7749, allocations: 147.9 kB / 0.5928 GB, free: 12.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000828/0.7758, allocations: 270.3 kB / 0.593 GB, free: 12.19 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007774/0.7766, allocations: 171.8 kB / 0.5932 GB, free: 12.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.7766, allocations: 4 kB / 0.5932 GB, free: 12.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001964/0.7786, allocations: 483.7 kB / 0.5937 GB, free: 11.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006584/0.7793, allocations: 1.304 MB / 0.5949 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.7793, allocations: 4 kB / 0.5949 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006721/0.7861, allocations: 376.4 kB / 0.5953 GB, free: 9.754 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007396/0.7869, allocations: 91.83 kB / 0.5954 GB, free: 9.664 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008144/0.7877, allocations: 0.6069 MB / 0.596 GB, free: 9.031 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007203/0.7884, allocations: 77.31 kB / 0.5961 GB, free: 8.957 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.106e-05/0.7885, allocations: 19.98 kB / 0.5961 GB, free: 8.938 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.7885, allocations: 4 kB / 0.5961 GB, free: 8.934 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001627/0.7902, allocations: 416.9 kB / 0.5965 GB, free: 8.527 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.7902, allocations: 4 kB / 0.5965 GB, free: 8.523 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.7902, allocations: 4 kB / 0.5965 GB, free: 8.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007806/0.791, allocations: 104.3 kB / 0.5966 GB, free: 8.418 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/0.7911, allocations: 16.64 kB / 0.5966 GB, free: 8.402 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005151/0.7916, allocations: 51.72 kB / 0.5966 GB, free: 8.352 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.84e-05/0.7917, allocations: 23.98 kB / 0.5967 GB, free: 8.328 MB / 426.7 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.0004945/0.7922, allocations: 255.8 kB / 0.5969 GB, free: 8.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002412/0.7924, allocations: 47.44 kB / 0.597 GB, free: 8.023 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004553/0.797, allocations: 2.05 MB / 0.599 GB, free: 5.961 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.131e-05/0.7971, allocations: 23.95 kB / 0.599 GB, free: 5.938 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/0.7971, allocations: 4 kB / 0.599 GB, free: 5.934 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.7971, allocations: 7.938 kB / 0.599 GB, free: 5.926 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/0.7989, allocations: 1.015 MB / 0.6 GB, free: 4.859 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.7989, allocations: 0 / 0.6 GB, free: 4.859 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006379/0.7996, allocations: 79.88 kB / 0.6001 GB, free: 4.781 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002524/0.8021, allocations: 0.6345 MB / 0.6007 GB, free: 4.141 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.897e-05/0.8022, allocations: 7.984 kB / 0.6007 GB, free: 4.133 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001389/0.8036, allocations: 1.007 MB / 0.6017 GB, free: 3.102 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.8036, allocations: 0 / 0.6017 GB, free: 3.102 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002742/0.8064, allocations: 1.341 MB / 0.603 GB, free: 1.738 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005063/0.8069, allocations: 259.4 kB / 0.6032 GB, free: 1.465 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.807, allocations: 4 kB / 0.6032 GB, free: 1.461 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005933/0.8077, allocations: 51.81 kB / 0.6033 GB, free: 1.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.8078, allocations: 35.88 kB / 0.6033 GB, free: 1.375 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.341e-05/0.8079, allocations: 12 kB / 0.6033 GB, free: 1.363 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007298/0.8086, allocations: 390.8 kB / 0.6037 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.8086, allocations: 0 / 0.6037 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005954/0.8146, allocations: 1.148 MB / 0.6048 GB, free: 15.83 MB / 442.7 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.01037/0.825, allocations: 1.215 MB / 0.606 GB, free: 14.61 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003085/0.8281, allocations: 0.8075 MB / 0.6068 GB, free: 13.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.8281, allocations: 0 / 0.6068 GB, free: 13.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00122/0.8294, allocations: 496.8 kB / 0.6073 GB, free: 13.32 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002532/0.8319, allocations: 264 kB / 0.6075 GB, free: 13.06 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004004/0.836, allocations: 2.004 MB / 0.6095 GB, free: 11.02 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007923/0.8368, allocations: 0.9996 MB / 0.6105 GB, free: 9.988 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002545/0.8371, allocations: 55.42 kB / 0.6105 GB, free: 9.938 MB / 442.7 MB Notification: Performance of SimCode: time 1.132e-06/0.8371, allocations: 0 / 0.6105 GB, free: 9.938 MB / 442.7 MB Notification: Performance of Templates: time 0.0759/0.913, allocations: 31.74 MB / 0.6415 GB, free: 10.18 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestFlowRate/TestFlowRate.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches