Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.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.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00149/0.00149, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001887/0.001887, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2334/0.2334, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 76.16 kB / 481.3 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4731/0.4745, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03934/0.5139, allocations: 30.18 MB / 0.5605 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02091/0.5349, allocations: 15.54 MB / 0.5756 GB, free: 3.914 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004647/0.5354, allocations: 11.94 kB / 0.5756 GB, free: 3.902 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008111/0.5363, allocations: 214.6 kB / 0.5759 GB, free: 3.691 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006344/0.5369, allocations: 266.4 kB / 0.5761 GB, free: 3.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01889/0.5558, allocations: 5.642 MB / 0.5816 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001497/0.5573, allocations: 0.8147 MB / 0.5824 GB, free: 12.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003873/0.5577, allocations: 240.7 kB / 0.5826 GB, free: 12.74 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01111/0.5689, allocations: 5.481 MB / 0.588 GB, free: 7.176 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004524/0.5693, allocations: 239 kB / 0.5882 GB, free: 6.941 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.78e-05/0.5694, allocations: 35.94 kB / 0.5883 GB, free: 6.906 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01328/0.5827, allocations: 6.088 MB / 0.5942 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001817/0.5829, allocations: 99.66 kB / 0.5943 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003295/0.5833, allocations: 179.2 kB / 0.5945 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00979/0.5931, allocations: 3.661 MB / 0.598 GB, free: 12.87 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.5931, allocations: 0 / 0.598 GB, free: 12.87 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5931, allocations: 4 kB / 0.598 GB, free: 12.86 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.673e-05/0.5931, allocations: 3.984 kB / 0.598 GB, free: 12.86 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.003478/0.5966, allocations: 0.994 MB / 0.599 GB, free: 11.82 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.5967, allocations: 16.03 kB / 0.599 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/0.5978, allocations: 120.4 kB / 0.5992 GB, free: 11.68 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006169/0.5985, allocations: 342.5 kB / 0.5995 GB, free: 11.31 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.641e-05/0.5985, allocations: 28.88 kB / 0.5995 GB, free: 11.28 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.123e-05/0.5986, allocations: 20.38 kB / 0.5995 GB, free: 11.26 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.5998, allocations: 454.9 kB / 0.6 GB, free: 10.78 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.5998, allocations: 0 / 0.6 GB, free: 10.78 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.69e-05/0.5998, allocations: 12 kB / 0.6 GB, free: 10.77 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.5998, allocations: 8 kB / 0.6 GB, free: 10.76 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.601, allocations: 369.2 kB / 0.6003 GB, free: 10.4 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003029/0.604, allocations: 2.379 MB / 0.6027 GB, free: 7.805 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009932/0.605, allocations: 270.3 kB / 0.6029 GB, free: 7.531 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002665/0.6053, allocations: 100.7 kB / 0.603 GB, free: 7.43 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004341/0.6057, allocations: 489.4 kB / 0.6035 GB, free: 6.859 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.6058, allocations: 38.56 kB / 0.6035 GB, free: 6.812 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.6058, allocations: 0 / 0.6035 GB, free: 6.812 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.001623/0.6074, allocations: 453.4 kB / 0.6039 GB, free: 6.363 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.223e-05/0.6075, allocations: 110.8 kB / 0.604 GB, free: 6.23 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003357/0.6078, allocations: 324.5 kB / 0.6044 GB, free: 5.902 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.6079, allocations: 25.7 kB / 0.6044 GB, free: 5.871 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.608, allocations: 219.5 kB / 0.6046 GB, free: 5.652 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.6081, allocations: 35.45 kB / 0.6046 GB, free: 5.617 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.214e-05/0.6082, allocations: 53.7 kB / 0.6047 GB, free: 5.559 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.6083, allocations: 342.8 kB / 0.605 GB, free: 5.215 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002486/0.6085, allocations: 83.88 kB / 0.6051 GB, free: 5.133 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/0.6089, allocations: 207.4 kB / 0.6053 GB, free: 4.875 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000572/0.6095, allocations: 285.5 kB / 0.6056 GB, free: 4.547 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.6095, allocations: 0 / 0.6056 GB, free: 4.547 MB / 462.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006892/0.6102, allocations: 316.8 kB / 0.6059 GB, free: 4.23 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.6102, allocations: 8 kB / 0.6059 GB, free: 4.223 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.6102, allocations: 4 kB / 0.6059 GB, free: 4.219 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.6103, allocations: 8.406 kB / 0.6059 GB, free: 4.211 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/0.6105, allocations: 67.89 kB / 0.6059 GB, free: 4.145 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.6105, allocations: 7.938 kB / 0.6059 GB, free: 4.137 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/0.6108, allocations: 47.66 kB / 0.606 GB, free: 4.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/0.6108, allocations: 8 kB / 0.606 GB, free: 4.082 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_2.medium.phase,boundary_prescriberho_1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001879/0.611, allocations: 157.7 kB / 0.6062 GB, free: 3.918 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.645e-05/0.6111, allocations: 31.62 kB / 0.6062 GB, free: 3.887 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.6123, allocations: 0.7378 MB / 0.6069 GB, free: 3.141 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.6123, allocations: 3.984 kB / 0.6069 GB, free: 3.137 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.6123, allocations: 3.938 kB / 0.6069 GB, free: 3.133 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.6123, allocations: 8 kB / 0.6069 GB, free: 3.125 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005525/0.6129, allocations: 0.5336 MB / 0.6074 GB, free: 2.543 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.6129, allocations: 0 / 0.6074 GB, free: 2.543 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.6131, allocations: 39.95 kB / 0.6075 GB, free: 2.504 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.6131, allocations: 11.88 kB / 0.6075 GB, free: 2.492 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.6132, allocations: 0 / 0.6075 GB, free: 2.492 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.6132, allocations: 0 / 0.6075 GB, free: 2.492 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6132, allocations: 3.938 kB / 0.6075 GB, free: 2.488 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007518/0.6139, allocations: 461.7 kB / 0.6079 GB, free: 2.02 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.815e-05/0.614, allocations: 116.6 kB / 0.608 GB, free: 1.887 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.603e-05/0.6141, allocations: 23.69 kB / 0.6081 GB, free: 1.863 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.6143, allocations: 19.98 kB / 0.6081 GB, free: 1.844 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.977e-05/0.6144, allocations: 27.91 kB / 0.6081 GB, free: 1.816 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.6144, allocations: 4 kB / 0.6081 GB, free: 1.812 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004208/0.6148, allocations: 338.9 kB / 0.6084 GB, free: 1.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6148, allocations: 0 / 0.6084 GB, free: 1.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003219/0.6181, allocations: 0.8394 MB / 0.6093 GB, free: 0.6406 MB / 462.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: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005969/0.6241, allocations: 1.003 MB / 0.6102 GB, free: 15.64 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001101/0.6252, allocations: 268.5 kB / 0.6105 GB, free: 15.38 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.499e-05/0.6252, allocations: 8 kB / 0.6105 GB, free: 15.37 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000452/0.6257, allocations: 163.9 kB / 0.6107 GB, free: 15.21 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/0.6272, allocations: 192.5 kB / 0.6108 GB, free: 15.03 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/0.6292, allocations: 0.8388 MB / 0.6117 GB, free: 14.16 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007197/0.63, allocations: 0.8422 MB / 0.6125 GB, free: 13.3 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004675/0.6304, allocations: 142.7 kB / 0.6126 GB, free: 13.16 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.6306, allocations: 35.42 kB / 0.6127 GB, free: 13.12 MB / 478.1 MB Notification: Performance of SimCode: time 9.01e-07/0.6306, allocations: 0 / 0.6127 GB, free: 13.12 MB / 478.1 MB Notification: Performance of Templates: time 0.07628/0.7069, allocations: 33.95 MB / 0.6458 GB, free: 11.19 MB / 0.4981 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches