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.000981/0.0009812, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001225/0.001225, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.7 MB / 246.8 MB, free: 9.551 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.195/0.195, allocations: 46.19 MB / 345.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002323/0.0002324, allocations: 4 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1037, allocations: 63.57 MB / 483.2 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.0308/0.1345, allocations: 30.32 MB / 0.5015 GB, free: 5.625 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2425/0.377, allocations: 16.22 MB / 0.5173 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004101/0.3775, allocations: 10.5 kB / 0.5173 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006983/0.3782, allocations: 182.5 kB / 0.5175 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00066/0.3789, allocations: 261.2 kB / 0.5177 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01812/0.397, allocations: 4.527 MB / 0.5222 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001879/0.3989, allocations: 1.1 MB / 0.5232 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004269/0.3994, allocations: 199 kB / 0.5234 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01084/0.4102, allocations: 5.399 MB / 0.5287 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005197/0.4108, allocations: 233.7 kB / 0.5289 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.823e-05/0.4108, allocations: 17.44 kB / 0.5289 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01202/0.4229, allocations: 6.027 MB / 0.5348 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001973/0.4231, allocations: 68.86 kB / 0.5349 GB, free: 7.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003845/0.4235, allocations: 203.7 kB / 0.5351 GB, free: 7.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00749/0.431, allocations: 3.64 MB / 0.5386 GB, free: 5.531 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.431, allocations: 0 / 0.5386 GB, free: 5.531 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.431, allocations: 3.406 kB / 0.5386 GB, free: 5.531 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.431, allocations: 0 / 0.5386 GB, free: 5.531 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.001936/0.433, allocations: 0.9391 MB / 0.5396 GB, free: 4.801 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.433, allocations: 9.625 kB / 0.5396 GB, free: 4.801 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.893e-05/0.4331, allocations: 64.03 kB / 0.5396 GB, free: 4.738 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000976/0.4341, allocations: 132.4 kB / 0.5398 GB, free: 4.688 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003413/0.4344, allocations: 329.1 kB / 0.5401 GB, free: 4.379 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.4345, allocations: 20.12 kB / 0.5401 GB, free: 4.371 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.646e-05/0.4345, allocations: 26.09 kB / 0.5401 GB, free: 4.363 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.4355, allocations: 476.2 kB / 0.5406 GB, free: 4.047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.4356, allocations: 0 / 0.5406 GB, free: 4.047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.338e-05/0.4356, allocations: 15.66 kB / 0.5406 GB, free: 4.035 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.4356, allocations: 9.812 kB / 0.5406 GB, free: 4.035 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.4366, allocations: 399.2 kB / 0.541 GB, free: 3.859 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002419/0.4391, allocations: 2.393 MB / 0.5433 GB, free: 1.613 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009769/0.4401, allocations: 305.4 kB / 0.5436 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000253/0.4403, allocations: 105.5 kB / 0.5437 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002814/0.4406, allocations: 486.2 kB / 0.5442 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.4407, allocations: 41.64 kB / 0.5442 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.683e-06/0.4407, allocations: 0 / 0.5442 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001589/0.4423, allocations: 0.4921 MB / 0.5447 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.4423, allocations: 109.6 kB / 0.5448 GB, free: 496 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.4426, allocations: 314 kB / 0.5451 GB, free: 292 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.4426, allocations: 32.48 kB / 0.5451 GB, free: 256 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.912e-05/0.4427, allocations: 205.3 kB / 0.5453 GB, free: 64 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.4427, allocations: 48.58 kB / 0.5454 GB, free: 24 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.4428, allocations: 25.98 kB / 0.5454 GB, free: 0 / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.4429, allocations: 343 kB / 0.5457 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/0.4432, allocations: 93.7 kB / 0.5458 GB, free: 15.62 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003482/0.4436, allocations: 218.3 kB / 0.546 GB, free: 15.42 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006029/0.4442, allocations: 311.6 kB / 0.5463 GB, free: 15.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.4442, allocations: 0 / 0.5463 GB, free: 15.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007344/0.4449, allocations: 336.1 kB / 0.5466 GB, free: 15.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.445, allocations: 7.156 kB / 0.5466 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.445, allocations: 3.312 kB / 0.5466 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.445, allocations: 7.219 kB / 0.5466 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.4453, allocations: 72.55 kB / 0.5467 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.4453, allocations: 15.19 kB / 0.5467 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002873/0.4456, allocations: 53.56 kB / 0.5468 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.4456, allocations: 8.219 kB / 0.5468 GB, free: 14.95 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.0001747/0.4458, allocations: 157.7 kB / 0.5469 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.886e-05/0.4459, allocations: 32.91 kB / 0.547 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/0.447, allocations: 0.7711 MB / 0.5477 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.4471, allocations: 7.359 kB / 0.5477 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.4471, allocations: 3.938 kB / 0.5477 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4471, allocations: 0 / 0.5477 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005982/0.4477, allocations: 0.5323 MB / 0.5483 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4477, allocations: 0 / 0.5483 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.4479, allocations: 60.2 kB / 0.5483 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.4479, allocations: 7.031 kB / 0.5483 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.448, allocations: 0 / 0.5483 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.448, allocations: 0 / 0.5483 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.448, allocations: 7.781 kB / 0.5483 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006823/0.4487, allocations: 481.3 kB / 0.5488 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/0.4488, allocations: 188.8 kB / 0.549 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.743e-05/0.4489, allocations: 4 kB / 0.549 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.4491, allocations: 23.67 kB / 0.549 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.469e-05/0.4492, allocations: 24.47 kB / 0.549 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.4492, allocations: 3.406 kB / 0.549 GB, free: 13.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003588/0.4496, allocations: 347.8 kB / 0.5493 GB, free: 13.14 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4496, allocations: 4 kB / 0.5494 GB, free: 13.13 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003056/0.4526, allocations: 0.8464 MB / 0.5502 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.004973/0.4576, allocations: 1.911 MB / 0.552 GB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007587/0.4584, allocations: 296.7 kB / 0.5523 GB, free: 10.33 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.4584, allocations: 0 / 0.5523 GB, free: 10.33 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003215/0.4588, allocations: 178.7 kB / 0.5525 GB, free: 10.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.4598, allocations: 172.3 kB / 0.5527 GB, free: 9.996 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007253/0.4671, allocations: 4.302 MB / 0.5569 GB, free: 5.535 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004713/0.4676, allocations: 0.8501 MB / 0.5577 GB, free: 4.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004543/0.4681, allocations: 145.6 kB / 0.5578 GB, free: 4.527 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002494/0.4683, allocations: 163.4 kB / 0.558 GB, free: 4.367 MB / 398.1 MB Notification: Performance of SimCode: time 1.603e-06/0.4683, allocations: 0 / 0.558 GB, free: 4.367 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06276/0.5311, allocations: 38.39 MB / 0.5955 GB, free: 14.16 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/0.5313, allocations: 260.6 kB / 0.5957 GB, free: 13.87 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.849/4.38, allocations: 0 / 0.5957 GB, free: 13.87 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