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.001316/0.001316, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001016/0.001016, allocations: 192 kB / 18.56 MB, free: 4.434 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.417/1.417, allocations: 222.9 MB / 242.2 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2117/0.2117, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 59.28 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1186, allocations: 60.82 MB / 469.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03453/0.1531, allocations: 30.04 MB / 499.3 MB, free: 232 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01772/0.1709, allocations: 15.52 MB / 0.5027 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004721/0.1714, allocations: 7.938 kB / 0.5027 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007994/0.1723, allocations: 214.6 kB / 0.503 GB, free: 444 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006743/0.173, allocations: 274.4 kB / 0.5032 GB, free: 168 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2596/0.4326, allocations: 5.615 MB / 0.5087 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00144/0.434, allocations: 0.8124 MB / 0.5095 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000543/0.4346, allocations: 229.2 kB / 0.5097 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01807/0.4527, allocations: 5.47 MB / 0.515 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007665/0.4535, allocations: 236.9 kB / 0.5153 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.4536, allocations: 29.28 kB / 0.5153 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01895/0.4726, allocations: 5.933 MB / 0.5211 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002967/0.4729, allocations: 90.06 kB / 0.5212 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006546/0.4736, allocations: 189.3 kB / 0.5214 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01596/0.4896, allocations: 3.655 MB / 0.5249 GB, free: 8.262 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.056e-06/0.4897, allocations: 0 / 0.5249 GB, free: 8.262 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.4897, allocations: 1.625 kB / 0.5249 GB, free: 8.262 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.348e-05/0.4897, allocations: 0 / 0.5249 GB, free: 8.262 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.004538/0.4943, allocations: 1.002 MB / 0.5259 GB, free: 7.559 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.4943, allocations: 8.312 kB / 0.5259 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001455/0.4958, allocations: 108.4 kB / 0.526 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007161/0.4965, allocations: 323.2 kB / 0.5263 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.824e-05/0.4966, allocations: 21.66 kB / 0.5264 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.053e-05/0.4967, allocations: 30.7 kB / 0.5264 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/0.4984, allocations: 455 kB / 0.5268 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.4984, allocations: 3.281 kB / 0.5268 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.285e-05/0.4985, allocations: 11.75 kB / 0.5268 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.4985, allocations: 6.094 kB / 0.5268 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00154/0.5001, allocations: 371.9 kB / 0.5272 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004179/0.5043, allocations: 2.39 MB / 0.5295 GB, free: 4.906 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.5057, allocations: 270.8 kB / 0.5298 GB, free: 4.824 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003617/0.5061, allocations: 100.2 kB / 0.5299 GB, free: 4.793 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004344/0.5065, allocations: 493.1 kB / 0.5303 GB, free: 4.297 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.5066, allocations: 31.56 kB / 0.5304 GB, free: 4.258 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.994e-06/0.5066, allocations: 0 / 0.5304 GB, free: 4.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.002455/0.509, allocations: 454 kB / 0.5308 GB, free: 4.102 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.5091, allocations: 104.8 kB / 0.5309 GB, free: 3.977 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004617/0.5096, allocations: 328.2 kB / 0.5312 GB, free: 3.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.5096, allocations: 28.95 kB / 0.5313 GB, free: 3.789 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.5098, allocations: 213.1 kB / 0.5315 GB, free: 3.641 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.364e-05/0.5099, allocations: 41.14 kB / 0.5315 GB, free: 3.613 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.51, allocations: 50.33 kB / 0.5315 GB, free: 3.594 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.5101, allocations: 345 kB / 0.5319 GB, free: 3.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/0.5105, allocations: 81.56 kB / 0.5319 GB, free: 3.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004381/0.5109, allocations: 214.7 kB / 0.5322 GB, free: 3.078 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007434/0.5117, allocations: 278.8 kB / 0.5324 GB, free: 2.914 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.5117, allocations: 2.438 kB / 0.5324 GB, free: 2.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001019/0.5127, allocations: 316 kB / 0.5327 GB, free: 2.824 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.5128, allocations: 14.97 kB / 0.5327 GB, free: 2.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.5128, allocations: 7.031 kB / 0.5327 GB, free: 2.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-05/0.5128, allocations: 5.5 kB / 0.5327 GB, free: 2.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003443/0.5132, allocations: 63.67 kB / 0.5328 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.777e-05/0.5132, allocations: 11.88 kB / 0.5328 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004386/0.5137, allocations: 43.97 kB / 0.5329 GB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.284e-05/0.5137, allocations: 12.19 kB / 0.5329 GB, free: 2.781 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_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.0002076/0.5139, allocations: 156.4 kB / 0.533 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.514, allocations: 31.12 kB / 0.5331 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/0.5153, allocations: 0.7398 MB / 0.5338 GB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/0.5153, allocations: 10.61 kB / 0.5338 GB, free: 2.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.5153, allocations: 4.875 kB / 0.5338 GB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.5154, allocations: 3.938 kB / 0.5338 GB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006909/0.5161, allocations: 0.5346 MB / 0.5343 GB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.5161, allocations: 0 / 0.5343 GB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002137/0.5163, allocations: 49.27 kB / 0.5344 GB, free: 2.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.5163, allocations: 0 / 0.5344 GB, free: 2.039 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.5163, allocations: 2.062 kB / 0.5344 GB, free: 2.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.5163, allocations: 0.5625 kB / 0.5344 GB, free: 2.039 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5163, allocations: 3.938 kB / 0.5344 GB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000691/0.517, allocations: 464.5 kB / 0.5348 GB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.393e-05/0.5171, allocations: 119 kB / 0.5349 GB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.135e-05/0.5172, allocations: 21.78 kB / 0.5349 GB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.5174, allocations: 12.14 kB / 0.535 GB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.12e-05/0.5175, allocations: 26.19 kB / 0.535 GB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.5175, allocations: 6.812 kB / 0.535 GB, free: 1.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003687/0.5179, allocations: 343.5 kB / 0.5353 GB, free: 1.367 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5179, allocations: 0 / 0.5353 GB, free: 1.367 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003858/0.5218, allocations: 0.8373 MB / 0.5361 GB, free: 1.227 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 (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.003549/0.5253, allocations: 1.002 MB / 0.5371 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000808/0.5262, allocations: 273.5 kB / 0.5374 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5262, allocations: 0 / 0.5374 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002842/0.5265, allocations: 166.5 kB / 0.5375 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009532/0.5274, allocations: 175.8 kB / 0.5377 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.5287, allocations: 0.8489 MB / 0.5385 GB, free: 84 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.5291, allocations: 0.8366 MB / 0.5393 GB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003476/0.5294, allocations: 150.5 kB / 0.5395 GB, free: 15.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.794e-05/0.5295, allocations: 37.52 kB / 0.5395 GB, free: 15.24 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5295, allocations: 0 / 0.5395 GB, free: 15.24 MB / 398.1 MB Notification: Performance of Templates: time 0.04514/0.5747, allocations: 33.83 MB / 0.5726 GB, free: 13.64 MB / 430.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches