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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 94.11 kB / 17.35 MB, free: 6.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.001461/0.001461, allocations: 168.5 kB / 18.25 MB, free: 5.508 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.326/1.326, allocations: 223.3 MB / 242.3 MB, free: 196 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.1978/0.1978, allocations: 44.24 MB / 337.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003167, allocations: 8 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1241, allocations: 61.93 MB / 472.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03647/0.1606, allocations: 30.16 MB / 0.4907 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2724/0.433, allocations: 16.22 MB / 0.5066 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004229/0.4334, allocations: 10.69 kB / 0.5066 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000646/0.4341, allocations: 188.3 kB / 0.5068 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005482/0.4347, allocations: 255.2 kB / 0.507 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01326/0.4479, allocations: 4.513 MB / 0.5114 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001518/0.4495, allocations: 1.097 MB / 0.5125 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003597/0.4498, allocations: 186.5 kB / 0.5127 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0101/0.4599, allocations: 5.397 MB / 0.5179 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004697/0.4604, allocations: 234.7 kB / 0.5182 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.176e-05/0.4605, allocations: 13.31 kB / 0.5182 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01157/0.4721, allocations: 6.008 MB / 0.524 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.4722, allocations: 75.41 kB / 0.5241 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000314/0.4725, allocations: 198.2 kB / 0.5243 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006827/0.4794, allocations: 3.621 MB / 0.5278 GB, free: 7.973 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4794, allocations: 0 / 0.5278 GB, free: 7.973 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.4794, allocations: 0 / 0.5278 GB, free: 7.973 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.4794, allocations: 2.312 kB / 0.5278 GB, free: 7.973 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.001817/0.4812, allocations: 0.9394 MB / 0.5288 GB, free: 7.297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.4813, allocations: 10.69 kB / 0.5288 GB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.082e-05/0.4814, allocations: 63.78 kB / 0.5288 GB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008226/0.4822, allocations: 118.5 kB / 0.5289 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.4825, allocations: 328.3 kB / 0.5293 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/0.4826, allocations: 25.03 kB / 0.5293 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.599e-05/0.4826, allocations: 23.38 kB / 0.5293 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.4836, allocations: 476.3 kB / 0.5298 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.4836, allocations: 7.391 kB / 0.5298 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.4837, allocations: 12.22 kB / 0.5298 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.4837, allocations: 4.438 kB / 0.5298 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.4847, allocations: 397.1 kB / 0.5302 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002355/0.4871, allocations: 2.4 MB / 0.5325 GB, free: 4.594 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009634/0.4881, allocations: 298 kB / 0.5328 GB, free: 4.504 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002705/0.4884, allocations: 109 kB / 0.5329 GB, free: 4.477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003045/0.4887, allocations: 492.5 kB / 0.5334 GB, free: 3.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.4887, allocations: 30.56 kB / 0.5334 GB, free: 3.941 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 2.846e-06/0.4887, allocations: 0 / 0.5334 GB, free: 3.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001552/0.4903, allocations: 0.491 MB / 0.5339 GB, free: 3.781 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.4903, allocations: 111.9 kB / 0.534 GB, free: 3.652 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/0.4906, allocations: 323 kB / 0.5343 GB, free: 3.504 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.4906, allocations: 27.89 kB / 0.5343 GB, free: 3.473 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.735e-05/0.4907, allocations: 209.9 kB / 0.5345 GB, free: 3.332 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.4907, allocations: 43.12 kB / 0.5346 GB, free: 3.301 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/0.4908, allocations: 27.14 kB / 0.5346 GB, free: 3.281 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.4e-05/0.4908, allocations: 336.3 kB / 0.5349 GB, free: 2.961 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000249/0.4911, allocations: 95.86 kB / 0.535 GB, free: 2.941 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.4914, allocations: 220.2 kB / 0.5352 GB, free: 2.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005269/0.4919, allocations: 301.6 kB / 0.5355 GB, free: 2.605 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.4919, allocations: 3.562 kB / 0.5355 GB, free: 2.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006428/0.4926, allocations: 347.7 kB / 0.5358 GB, free: 2.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.4926, allocations: 6.875 kB / 0.5358 GB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.4926, allocations: 4.906 kB / 0.5358 GB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.4926, allocations: 6.344 kB / 0.5358 GB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.4929, allocations: 70.52 kB / 0.5359 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.4929, allocations: 13.81 kB / 0.5359 GB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002427/0.4932, allocations: 47.23 kB / 0.536 GB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.4932, allocations: 22.05 kB / 0.536 GB, free: 2.453 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.0001264/0.4933, allocations: 152 kB / 0.5361 GB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.084e-05/0.4934, allocations: 34.59 kB / 0.5362 GB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.4944, allocations: 0.7766 MB / 0.5369 GB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.4944, allocations: 7.234 kB / 0.5369 GB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.4944, allocations: 5.906 kB / 0.5369 GB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4944, allocations: 2.906 kB / 0.5369 GB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004316/0.4949, allocations: 0.5271 MB / 0.5375 GB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.4949, allocations: 0 / 0.5375 GB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.4951, allocations: 55.89 kB / 0.5375 GB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.4951, allocations: 0 / 0.5375 GB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.4951, allocations: 3.469 kB / 0.5375 GB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4951, allocations: 0 / 0.5375 GB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.4951, allocations: 3.938 kB / 0.5375 GB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006129/0.4957, allocations: 482.8 kB / 0.538 GB, free: 1.539 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.4959, allocations: 185.5 kB / 0.5382 GB, free: 1.379 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.826e-05/0.4959, allocations: 6.375 kB / 0.5382 GB, free: 1.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.4961, allocations: 36.45 kB / 0.5382 GB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.147e-05/0.4962, allocations: 20.25 kB / 0.5382 GB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.4962, allocations: 2.406 kB / 0.5382 GB, free: 1.352 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000296/0.4965, allocations: 341.7 kB / 0.5385 GB, free: 1.223 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4965, allocations: 4 kB / 0.5385 GB, free: 1.219 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002405/0.4989, allocations: 0.8375 MB / 0.5394 GB, free: 1.113 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.003781/0.5027, allocations: 1.901 MB / 0.5412 GB, free: 156 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006126/0.5034, allocations: 289.4 kB / 0.5415 GB, free: 108 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5034, allocations: 3.281 kB / 0.5415 GB, free: 108 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002722/0.5037, allocations: 183.1 kB / 0.5417 GB, free: 80 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009242/0.5046, allocations: 174.6 kB / 0.5418 GB, free: 24 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005449/0.51, allocations: 4.293 MB / 0.546 GB, free: 12.47 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.5104, allocations: 0.8477 MB / 0.5469 GB, free: 11.6 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003295/0.5108, allocations: 144.3 kB / 0.547 GB, free: 11.47 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000189/0.5109, allocations: 163.4 kB / 0.5472 GB, free: 11.31 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.511, allocations: 0 / 0.5472 GB, free: 11.31 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06536/0.5763, allocations: 38.26 MB / 0.5845 GB, free: 5.316 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002438/0.5766, allocations: 270.7 kB / 0.5848 GB, free: 4.957 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.639/4.216, allocations: 4 kB / 0.5848 GB, free: 4.953 MB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins1/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