Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 96.3 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009037/0.0009038, allocations: 180.2 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 223.2 MB / 241.8 MB, free: 372 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2507/0.2507, allocations: 44.23 MB / 337.1 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003542/0.0003542, allocations: 12 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.167, allocations: 61.92 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03414/0.2012, allocations: 25.38 MB / 496.8 MB, free: 4.301 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01817/0.2194, allocations: 13.2 MB / 0.4981 GB, free: 7.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006145/0.2201, allocations: 7.938 kB / 0.4981 GB, free: 7.062 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000909/0.221, allocations: 179.1 kB / 0.4983 GB, free: 6.887 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009314/0.222, allocations: 219.3 kB / 0.4985 GB, free: 6.672 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01794/0.2399, allocations: 4.37 MB / 0.5027 GB, free: 2.316 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001057/0.241, allocations: 484.3 kB / 0.5032 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003462/0.2414, allocations: 188.9 kB / 0.5034 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3782/0.6195, allocations: 8.847 MB / 0.512 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005359/0.6201, allocations: 159 kB / 0.5122 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.118e-05/0.6202, allocations: 13.66 kB / 0.5122 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01356/0.6338, allocations: 5.926 MB / 0.518 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000184/0.634, allocations: 67.44 kB / 0.518 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002384/0.6343, allocations: 99.33 kB / 0.5181 GB, free: 15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00639/0.6407, allocations: 2.449 MB / 0.5205 GB, free: 14.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.6407, allocations: 0 / 0.5205 GB, free: 14.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.6407, allocations: 0 / 0.5205 GB, free: 14.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.6407, allocations: 0 / 0.5205 GB, free: 14.92 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.003398/0.6441, allocations: 0.9413 MB / 0.5214 GB, free: 14.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.6442, allocations: 9.656 kB / 0.5215 GB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.6452, allocations: 118.8 kB / 0.5216 GB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000399/0.6456, allocations: 317.1 kB / 0.5219 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/0.6456, allocations: 25.72 kB / 0.5219 GB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.263e-05/0.6457, allocations: 24.83 kB / 0.5219 GB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.6468, allocations: 468.7 kB / 0.5224 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.6468, allocations: 3.562 kB / 0.5224 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.61e-05/0.6468, allocations: 13.25 kB / 0.5224 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.6468, allocations: 5.875 kB / 0.5224 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.6479, allocations: 395.9 kB / 0.5228 GB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002715/0.6506, allocations: 2.397 MB / 0.5251 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009818/0.6516, allocations: 302.5 kB / 0.5254 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003311/0.6519, allocations: 485.4 kB / 0.5259 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.652, allocations: 35.62 kB / 0.5259 GB, free: 11.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.783e-06/0.652, allocations: 0 / 0.5259 GB, free: 11.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.00164/0.6536, allocations: 0.4917 MB / 0.5264 GB, free: 11.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.6537, allocations: 104.9 kB / 0.5265 GB, free: 11.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/0.654, allocations: 321.8 kB / 0.5268 GB, free: 11.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.654, allocations: 30.7 kB / 0.5268 GB, free: 11.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.6541, allocations: 214.2 kB / 0.527 GB, free: 11.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.6542, allocations: 35.69 kB / 0.527 GB, free: 11.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.071e-05/0.6542, allocations: 3.438 kB / 0.5271 GB, free: 11.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.17e-05/0.6543, allocations: 344.3 kB / 0.5274 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/0.6545, allocations: 94.39 kB / 0.5275 GB, free: 10.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002928/0.6548, allocations: 216.3 kB / 0.5277 GB, free: 10.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002829/0.6551, allocations: 118.9 kB / 0.5278 GB, free: 10.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.6551, allocations: 2 kB / 0.5278 GB, free: 10.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006718/0.6558, allocations: 341.5 kB / 0.5281 GB, free: 10.58 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.6558, allocations: 7.906 kB / 0.5281 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.6559, allocations: 2.219 kB / 0.5281 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.6559, allocations: 6.797 kB / 0.5281 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.6561, allocations: 71.34 kB / 0.5282 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.6562, allocations: 6.625 kB / 0.5282 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002765/0.6564, allocations: 51.56 kB / 0.5283 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.6565, allocations: 16.44 kB / 0.5283 GB, free: 10.56 MB / 382.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_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 initialization (27): * Single equations (assignments): 27 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000143/0.6566, allocations: 160.5 kB / 0.5284 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.037e-05/0.6567, allocations: 28.19 kB / 0.5285 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.6577, allocations: 0.7812 MB / 0.5292 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.6577, allocations: 10.16 kB / 0.5292 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.6578, allocations: 4 kB / 0.5292 GB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.6578, allocations: 0 / 0.5292 GB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004836/0.6582, allocations: 0.5325 MB / 0.5297 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.6583, allocations: 0 / 0.5297 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002011/0.6585, allocations: 54.45 kB / 0.5298 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.6585, allocations: 4 kB / 0.5298 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.6585, allocations: 6.219 kB / 0.5298 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.6585, allocations: 0.5 kB / 0.5298 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6585, allocations: 3.156 kB / 0.5298 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006582/0.6592, allocations: 475.8 kB / 0.5303 GB, free: 9.867 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.6593, allocations: 185 kB / 0.5304 GB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.596e-05/0.6594, allocations: 7.281 kB / 0.5304 GB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.6596, allocations: 26.81 kB / 0.5305 GB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.282e-05/0.6597, allocations: 22.38 kB / 0.5305 GB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.6597, allocations: 3.594 kB / 0.5305 GB, free: 9.688 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003153/0.66, allocations: 342.6 kB / 0.5308 GB, free: 9.559 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6601, allocations: 0 / 0.5308 GB, free: 9.559 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003696/0.6638, allocations: 0.8442 MB / 0.5317 GB, free: 9.449 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00484/0.6686, allocations: 0.9878 MB / 0.5326 GB, free: 9.152 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008623/0.6695, allocations: 295.5 kB / 0.5329 GB, free: 9.105 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6695, allocations: 0 / 0.5329 GB, free: 9.105 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000327/0.6698, allocations: 180.3 kB / 0.5331 GB, free: 9.066 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009914/0.6708, allocations: 168.9 kB / 0.5332 GB, free: 8.941 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.6722, allocations: 1.042 MB / 0.5342 GB, free: 7.965 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.6724, allocations: 0.8541 MB / 0.5351 GB, free: 7.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003069/0.6728, allocations: 147.2 kB / 0.5352 GB, free: 6.957 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.73e-05/0.6728, allocations: 31.06 kB / 0.5353 GB, free: 6.93 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.6728, allocations: 0 / 0.5353 GB, free: 6.93 MB / 382.1 MB Notification: Performance of Templates: time 0.04817/0.721, allocations: 33.83 MB / 0.5683 GB, free: 5.316 MB / 414.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches