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.001691/0.001691, allocations: 117.2 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002161/0.002161, allocations: 208.5 kB / 18.74 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2507/0.2507, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 79.81 kB / 481.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4972/0.4985, allocations: 62.44 MB / 0.531 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.04113/0.5397, allocations: 30.18 MB / 0.5605 GB, free: 3.633 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02185/0.5616, allocations: 15.56 MB / 0.5756 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007278/0.5624, allocations: 7.938 kB / 0.5757 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.5636, allocations: 214.6 kB / 0.5759 GB, free: 3.805 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001092/0.5647, allocations: 274.4 kB / 0.5761 GB, free: 3.535 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02315/0.5878, allocations: 5.646 MB / 0.5816 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001747/0.5896, allocations: 0.8186 MB / 0.5824 GB, free: 13.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006206/0.5902, allocations: 228.8 kB / 0.5827 GB, free: 12.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01166/0.6019, allocations: 5.489 MB / 0.588 GB, free: 7.277 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005885/0.6025, allocations: 242.9 kB / 0.5882 GB, free: 7.039 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.693e-05/0.6026, allocations: 28 kB / 0.5883 GB, free: 7.012 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01235/0.615, allocations: 6.092 MB / 0.5942 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001988/0.6152, allocations: 87.73 kB / 0.5943 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003837/0.6156, allocations: 199.1 kB / 0.5945 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01063/0.6262, allocations: 3.657 MB / 0.5981 GB, free: 12.96 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.6263, allocations: 0 / 0.5981 GB, free: 12.96 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.6263, allocations: 0 / 0.5981 GB, free: 12.96 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.61e-05/0.6263, allocations: 0 / 0.5981 GB, free: 12.96 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.002978/0.6293, allocations: 0.9901 MB / 0.599 GB, free: 11.93 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.6294, allocations: 15.97 kB / 0.599 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.6304, allocations: 124.4 kB / 0.5992 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006287/0.631, allocations: 342.5 kB / 0.5995 GB, free: 11.41 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.87e-05/0.6311, allocations: 24.94 kB / 0.5995 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.81e-05/0.6311, allocations: 24.38 kB / 0.5995 GB, free: 11.37 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.6323, allocations: 454.8 kB / 0.6 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.6323, allocations: 3.984 kB / 0.6 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.68e-05/0.6324, allocations: 12 kB / 0.6 GB, free: 10.87 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.6324, allocations: 8 kB / 0.6 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.6334, allocations: 369.3 kB / 0.6003 GB, free: 10.5 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003146/0.6366, allocations: 2.383 MB / 0.6027 GB, free: 7.902 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009861/0.6376, allocations: 274.3 kB / 0.6029 GB, free: 7.625 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/0.6379, allocations: 96.73 kB / 0.603 GB, free: 7.527 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004294/0.6383, allocations: 493.4 kB / 0.6035 GB, free: 6.953 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.6383, allocations: 34.5 kB / 0.6035 GB, free: 6.91 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 1.643e-06/0.6383, allocations: 0 / 0.6035 GB, free: 6.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.00165/0.64, allocations: 453.1 kB / 0.604 GB, free: 6.461 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.367e-05/0.6401, allocations: 110.8 kB / 0.6041 GB, free: 6.328 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003531/0.6405, allocations: 324.5 kB / 0.6044 GB, free: 6 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.6405, allocations: 25.7 kB / 0.6044 GB, free: 5.969 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.6406, allocations: 211.6 kB / 0.6046 GB, free: 5.758 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/0.6407, allocations: 39.45 kB / 0.6046 GB, free: 5.719 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.6408, allocations: 57.69 kB / 0.6047 GB, free: 5.656 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.6409, allocations: 338.8 kB / 0.605 GB, free: 5.316 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/0.6412, allocations: 83.92 kB / 0.6051 GB, free: 5.234 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000348/0.6416, allocations: 211.2 kB / 0.6053 GB, free: 4.973 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005716/0.6422, allocations: 277.5 kB / 0.6056 GB, free: 4.652 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.6422, allocations: 0 / 0.6056 GB, free: 4.652 MB / 462.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007264/0.6429, allocations: 324.7 kB / 0.6059 GB, free: 4.328 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.6429, allocations: 8 kB / 0.6059 GB, free: 4.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.6429, allocations: 4 kB / 0.6059 GB, free: 4.316 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.643, allocations: 4 kB / 0.6059 GB, free: 4.312 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.6432, allocations: 68.36 kB / 0.606 GB, free: 4.246 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.6432, allocations: 11.94 kB / 0.606 GB, free: 4.234 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002698/0.6435, allocations: 39.67 kB / 0.606 GB, free: 4.195 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.329e-05/0.6436, allocations: 16 kB / 0.606 GB, free: 4.18 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.0002235/0.6438, allocations: 149.8 kB / 0.6062 GB, free: 4.023 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.484e-05/0.6439, allocations: 31.62 kB / 0.6062 GB, free: 3.992 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001376/0.6453, allocations: 0.7416 MB / 0.6069 GB, free: 3.242 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.957e-05/0.6453, allocations: 8 kB / 0.6069 GB, free: 3.234 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.6453, allocations: 3.938 kB / 0.6069 GB, free: 3.23 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.6453, allocations: 3.984 kB / 0.6069 GB, free: 3.227 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008465/0.6462, allocations: 0.5298 MB / 0.6075 GB, free: 2.648 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/0.6462, allocations: 0 / 0.6075 GB, free: 2.648 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002105/0.6464, allocations: 43.95 kB / 0.6075 GB, free: 2.605 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.491e-05/0.6465, allocations: 3.984 kB / 0.6075 GB, free: 2.602 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.6465, allocations: 7.938 kB / 0.6075 GB, free: 2.594 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.6465, allocations: 4 kB / 0.6075 GB, free: 2.59 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/0.6465, allocations: 3.938 kB / 0.6075 GB, free: 2.586 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009293/0.6474, allocations: 465.6 kB / 0.608 GB, free: 2.113 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000188/0.6476, allocations: 108.6 kB / 0.6081 GB, free: 1.988 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.245e-05/0.6477, allocations: 27.69 kB / 0.6081 GB, free: 1.961 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.6479, allocations: 19.97 kB / 0.6081 GB, free: 1.941 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.875e-05/0.6481, allocations: 23.91 kB / 0.6081 GB, free: 1.918 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.6481, allocations: 7.984 kB / 0.6081 GB, free: 1.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004429/0.6485, allocations: 350.8 kB / 0.6085 GB, free: 1.566 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6485, allocations: 0 / 0.6085 GB, free: 1.566 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004277/0.6528, allocations: 0.8394 MB / 0.6093 GB, free: 0.7266 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.006439/0.6593, allocations: 0.9785 MB / 0.6102 GB, free: 15.75 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.6604, allocations: 268.5 kB / 0.6105 GB, free: 15.48 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.6604, allocations: 7.938 kB / 0.6105 GB, free: 15.48 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003108/0.6608, allocations: 167.8 kB / 0.6107 GB, free: 15.31 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.6618, allocations: 199.7 kB / 0.6109 GB, free: 15.13 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.6633, allocations: 0.8388 MB / 0.6117 GB, free: 14.27 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004332/0.6638, allocations: 0.8422 MB / 0.6125 GB, free: 13.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003336/0.6641, allocations: 146.7 kB / 0.6126 GB, free: 13.25 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.544e-05/0.6642, allocations: 35.44 kB / 0.6127 GB, free: 13.22 MB / 478.1 MB Notification: Performance of SimCode: time 4.91e-07/0.6642, allocations: 0 / 0.6127 GB, free: 13.22 MB / 478.1 MB Notification: Performance of Templates: time 0.0475/0.7117, allocations: 33.83 MB / 0.6457 GB, free: 11.41 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