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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001148/0.001148, allocations: 109.8 kB / 17.33 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001033/0.001033, allocations: 201.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 246.4 MB, free: 9.082 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2165/0.2165, allocations: 46.1 MB / 343.8 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 72.94 kB / 417.2 MB, free: 19.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1276, allocations: 62.44 MB / 479.6 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03405/0.1617, allocations: 30.27 MB / 0.4979 GB, free: 7.113 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2891/0.4508, allocations: 15.6 MB / 0.5131 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004034/0.4513, allocations: 16.09 kB / 0.5132 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007583/0.4521, allocations: 196 kB / 0.5134 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006524/0.4528, allocations: 254.5 kB / 0.5136 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0182/0.471, allocations: 4.988 MB / 0.5185 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001538/0.4725, allocations: 0.8178 MB / 0.5193 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004597/0.473, allocations: 230.5 kB / 0.5195 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01093/0.4839, allocations: 5.456 MB / 0.5248 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005679/0.4846, allocations: 239.3 kB / 0.525 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.98e-05/0.4846, allocations: 28.75 kB / 0.5251 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01296/0.4976, allocations: 6.015 MB / 0.5309 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001885/0.4978, allocations: 88.67 kB / 0.531 GB, free: 7.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004098/0.4983, allocations: 187.6 kB / 0.5312 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008449/0.5067, allocations: 3.682 MB / 0.5348 GB, free: 5.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.5067, allocations: 3.938 kB / 0.5348 GB, free: 5.316 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5068, allocations: 0 / 0.5348 GB, free: 5.316 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.5068, allocations: 0 / 0.5348 GB, free: 5.316 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.002486/0.5093, allocations: 1.003 MB / 0.5358 GB, free: 4.547 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.5093, allocations: 11.25 kB / 0.5358 GB, free: 4.547 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.359e-05/0.5094, allocations: 58.8 kB / 0.5358 GB, free: 4.488 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009194/0.5103, allocations: 116.4 kB / 0.536 GB, free: 4.441 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.5107, allocations: 336.2 kB / 0.5363 GB, free: 4.129 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.5107, allocations: 19.12 kB / 0.5363 GB, free: 4.121 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/0.5108, allocations: 27.86 kB / 0.5363 GB, free: 4.109 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009677/0.5117, allocations: 461 kB / 0.5368 GB, free: 3.793 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.5118, allocations: 0 / 0.5368 GB, free: 3.793 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.278e-05/0.5118, allocations: 11.88 kB / 0.5368 GB, free: 3.785 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.5118, allocations: 7.812 kB / 0.5368 GB, free: 3.785 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009593/0.5128, allocations: 373.7 kB / 0.5371 GB, free: 3.613 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002341/0.5151, allocations: 2.376 MB / 0.5395 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008842/0.516, allocations: 276.2 kB / 0.5397 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002388/0.5163, allocations: 97.22 kB / 0.5398 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003152/0.5166, allocations: 488.4 kB / 0.5403 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.5166, allocations: 37.62 kB / 0.5403 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.552e-06/0.5166, allocations: 0 / 0.5403 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001526/0.5182, allocations: 449.2 kB / 0.5407 GB, free: 396 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.5182, allocations: 109.7 kB / 0.5409 GB, free: 264 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002821/0.5185, allocations: 319.8 kB / 0.5412 GB, free: 56 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.5185, allocations: 29.7 kB / 0.5412 GB, free: 20 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.5187, allocations: 211.1 kB / 0.5414 GB, free: 15.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.13e-05/0.5188, allocations: 52.59 kB / 0.5414 GB, free: 15.78 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.713e-05/0.5189, allocations: 53.11 kB / 0.5415 GB, free: 15.74 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002381/0.5191, allocations: 342.6 kB / 0.5418 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002563/0.5194, allocations: 83.81 kB / 0.5419 GB, free: 15.37 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003408/0.5197, allocations: 206.6 kB / 0.5421 GB, free: 15.17 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000565/0.5203, allocations: 280.5 kB / 0.5424 GB, free: 14.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.5203, allocations: 1.875 kB / 0.5424 GB, free: 14.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007079/0.521, allocations: 320.7 kB / 0.5427 GB, free: 14.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.5211, allocations: 8 kB / 0.5427 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.5211, allocations: 5.219 kB / 0.5427 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.5211, allocations: 2.844 kB / 0.5427 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.5214, allocations: 71.2 kB / 0.5427 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/0.5214, allocations: 13.62 kB / 0.5428 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000292/0.5217, allocations: 41.5 kB / 0.5428 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.5217, allocations: 14.69 kB / 0.5428 GB, free: 14.71 MB / 398.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.0001763/0.5219, allocations: 159 kB / 0.543 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.347e-05/0.522, allocations: 33.48 kB / 0.543 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/0.5232, allocations: 0.75 MB / 0.5437 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.5232, allocations: 6.953 kB / 0.5437 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.5232, allocations: 3.938 kB / 0.5437 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.5232, allocations: 3.984 kB / 0.5437 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005537/0.5238, allocations: 0.5213 MB / 0.5443 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.5238, allocations: 0 / 0.5443 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.524, allocations: 48.77 kB / 0.5443 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.524, allocations: 6.594 kB / 0.5443 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.524, allocations: 0 / 0.5443 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.524, allocations: 6.484 kB / 0.5443 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.524, allocations: 3.938 kB / 0.5443 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007048/0.5247, allocations: 462.3 kB / 0.5448 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.5248, allocations: 122.8 kB / 0.5449 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.304e-05/0.5249, allocations: 21.72 kB / 0.5449 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.5251, allocations: 23.25 kB / 0.5449 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-05/0.5252, allocations: 24.23 kB / 0.5449 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.5252, allocations: 13.33 kB / 0.545 GB, free: 13.14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003851/0.5256, allocations: 338.3 kB / 0.5453 GB, free: 12.94 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.5256, allocations: 4 kB / 0.5453 GB, free: 12.94 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003092/0.5287, allocations: 0.8432 MB / 0.5461 GB, free: 12.48 MB / 398.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.006661/0.5354, allocations: 1.896 MB / 0.548 GB, free: 10.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007766/0.5362, allocations: 276.5 kB / 0.5482 GB, free: 10.37 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5362, allocations: 0 / 0.5482 GB, free: 10.37 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000306/0.5365, allocations: 163.9 kB / 0.5484 GB, free: 10.21 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.5376, allocations: 192 kB / 0.5486 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007672/0.5452, allocations: 4.223 MB / 0.5527 GB, free: 5.656 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005391/0.5458, allocations: 0.8463 MB / 0.5535 GB, free: 4.785 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005052/0.5463, allocations: 142.8 kB / 0.5536 GB, free: 4.648 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002182/0.5465, allocations: 163.4 kB / 0.5538 GB, free: 4.488 MB / 398.1 MB Notification: Performance of SimCode: time 7.32e-07/0.5466, allocations: 0 / 0.5538 GB, free: 4.488 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07126/0.6178, allocations: 38.82 MB / 0.5917 GB, free: 13.86 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002234/0.6181, allocations: 266.1 kB / 0.592 GB, free: 13.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.938/4.556, allocations: 0 / 0.592 GB, free: 13.54 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches