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.001321/0.00132, allocations: 104.8 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00134/0.00134, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 246.3 MB, free: 9.055 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2183/0.2183, allocations: 46.1 MB / 343.6 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 76.75 kB / 416.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1211, allocations: 62.44 MB / 479.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03519/0.1563, allocations: 31.04 MB / 0.4985 GB, free: 6.469 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2623/0.4187, allocations: 16.48 MB / 0.5146 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004142/0.4192, allocations: 12.27 kB / 0.5146 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006738/0.4199, allocations: 190.1 kB / 0.5148 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006115/0.4205, allocations: 256.1 kB / 0.515 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01699/0.4375, allocations: 4.531 MB / 0.5194 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001457/0.439, allocations: 1.101 MB / 0.5205 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003826/0.4394, allocations: 200.2 kB / 0.5207 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01269/0.4521, allocations: 5.411 MB / 0.526 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006264/0.4527, allocations: 241.9 kB / 0.5262 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.754e-05/0.4528, allocations: 15.56 kB / 0.5262 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01276/0.4656, allocations: 6.025 MB / 0.5321 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.4658, allocations: 76.14 kB / 0.5322 GB, free: 7.906 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003764/0.4662, allocations: 168 kB / 0.5323 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008924/0.4751, allocations: 3.665 MB / 0.5359 GB, free: 5.594 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.4752, allocations: 0 / 0.5359 GB, free: 5.594 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4752, allocations: 0 / 0.5359 GB, free: 5.594 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.525e-06/0.4752, allocations: 0 / 0.5359 GB, free: 5.594 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.002559/0.4778, allocations: 1.006 MB / 0.5369 GB, free: 4.816 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.4778, allocations: 9.125 kB / 0.5369 GB, free: 4.816 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.39e-05/0.4779, allocations: 58.7 kB / 0.537 GB, free: 4.758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009218/0.4788, allocations: 118.3 kB / 0.5371 GB, free: 4.711 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.4792, allocations: 326.4 kB / 0.5374 GB, free: 4.402 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.4792, allocations: 25.19 kB / 0.5374 GB, free: 4.391 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.105e-05/0.4792, allocations: 25.72 kB / 0.5374 GB, free: 4.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009899/0.4802, allocations: 460.3 kB / 0.5379 GB, free: 4.066 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.4803, allocations: 0 / 0.5379 GB, free: 4.066 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.845e-05/0.4803, allocations: 13.53 kB / 0.5379 GB, free: 4.059 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.4803, allocations: 6.438 kB / 0.5379 GB, free: 4.059 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00097/0.4813, allocations: 375.1 kB / 0.5382 GB, free: 3.883 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002356/0.4837, allocations: 2.382 MB / 0.5406 GB, free: 1.637 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009397/0.4846, allocations: 275.6 kB / 0.5408 GB, free: 1.492 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002399/0.4849, allocations: 96.72 kB / 0.5409 GB, free: 1.441 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003023/0.4852, allocations: 490.5 kB / 0.5414 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.4852, allocations: 30.56 kB / 0.5414 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.673e-06/0.4852, allocations: 0 / 0.5414 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001543/0.4868, allocations: 450.8 kB / 0.5419 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.4868, allocations: 113.2 kB / 0.542 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/0.4871, allocations: 321.7 kB / 0.5423 GB, free: 328 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.4871, allocations: 25.7 kB / 0.5423 GB, free: 296 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.709e-05/0.4872, allocations: 216.4 kB / 0.5425 GB, free: 96 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.4873, allocations: 46.2 kB / 0.5425 GB, free: 56 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.778e-05/0.4874, allocations: 58.92 kB / 0.5426 GB, free: 12 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.4875, allocations: 343.1 kB / 0.5429 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.4878, allocations: 80.31 kB / 0.543 GB, free: 15.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003329/0.4881, allocations: 208 kB / 0.5432 GB, free: 15.44 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005851/0.4887, allocations: 292.7 kB / 0.5435 GB, free: 15.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.4887, allocations: 2.219 kB / 0.5435 GB, free: 15.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000702/0.4894, allocations: 311 kB / 0.5438 GB, free: 15.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.4895, allocations: 6.312 kB / 0.5438 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.4895, allocations: 5.125 kB / 0.5438 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.4895, allocations: 5.906 kB / 0.5438 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002451/0.4897, allocations: 70.33 kB / 0.5439 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/0.4898, allocations: 10.25 kB / 0.5439 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002773/0.4901, allocations: 47.09 kB / 0.5439 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.4901, allocations: 11.09 kB / 0.5439 GB, free: 14.98 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.0001668/0.4903, allocations: 152 kB / 0.5441 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.917e-05/0.4903, allocations: 31.19 kB / 0.5441 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.4914, allocations: 0.7408 MB / 0.5448 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.4914, allocations: 6.391 kB / 0.5448 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.4914, allocations: 4.5 kB / 0.5448 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.4915, allocations: 10.64 kB / 0.5448 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005478/0.492, allocations: 0.53 MB / 0.5454 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.492, allocations: 4 kB / 0.5454 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.4922, allocations: 44.64 kB / 0.5454 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.4922, allocations: 6.688 kB / 0.5454 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.4923, allocations: 0 / 0.5454 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.4923, allocations: 3.984 kB / 0.5454 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.4923, allocations: 3.938 kB / 0.5454 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006964/0.493, allocations: 469.2 kB / 0.5459 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.547e-05/0.4931, allocations: 115.5 kB / 0.546 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.214e-05/0.4932, allocations: 23.78 kB / 0.546 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.4934, allocations: 31.11 kB / 0.546 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.961e-05/0.4935, allocations: 18.42 kB / 0.5461 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.4935, allocations: 10.48 kB / 0.5461 GB, free: 13.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003531/0.4938, allocations: 340.6 kB / 0.5464 GB, free: 13.21 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4938, allocations: 7.938 kB / 0.5464 GB, free: 13.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003151/0.497, allocations: 0.841 MB / 0.5472 GB, free: 12.63 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.005849/0.5029, allocations: 1.882 MB / 0.5491 GB, free: 10.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008098/0.5037, allocations: 272.5 kB / 0.5493 GB, free: 10.53 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.5037, allocations: 0 / 0.5493 GB, free: 10.53 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000311/0.504, allocations: 167.9 kB / 0.5495 GB, free: 10.37 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.5051, allocations: 184.9 kB / 0.5497 GB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007046/0.5122, allocations: 4.217 MB / 0.5538 GB, free: 5.832 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.5126, allocations: 0.8385 MB / 0.5546 GB, free: 4.969 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003993/0.513, allocations: 142.7 kB / 0.5547 GB, free: 4.832 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/0.5133, allocations: 171.3 kB / 0.5549 GB, free: 4.664 MB / 398.1 MB Notification: Performance of SimCode: time 8.41e-07/0.5133, allocations: 0 / 0.5549 GB, free: 4.664 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.064/0.5773, allocations: 38.52 MB / 0.5925 GB, free: 14.3 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002358/0.5776, allocations: 265.9 kB / 0.5928 GB, free: 13.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.027/4.604, allocations: 3.938 kB / 0.5928 GB, free: 13.97 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