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.001132/0.001132, allocations: 104.7 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.001064/0.001064, 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.37/1.37, allocations: 222.9 MB / 242.3 MB, free: 15.18 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.2032/0.2032, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002211/0.002211, allocations: 63.66 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1108, allocations: 60.81 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03217/0.143, allocations: 30.04 MB / 499.4 MB, free: 144 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01717/0.1602, allocations: 15.52 MB / 0.5028 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004563/0.1607, allocations: 7.938 kB / 0.5029 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008414/0.1616, allocations: 222.6 kB / 0.5031 GB, free: 340 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007849/0.1624, allocations: 270.4 kB / 0.5033 GB, free: 68 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2501/0.4126, allocations: 5.606 MB / 0.5088 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001392/0.414, allocations: 0.811 MB / 0.5096 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004435/0.4144, allocations: 237.9 kB / 0.5098 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01291/0.4273, allocations: 5.467 MB / 0.5152 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006188/0.428, allocations: 241.2 kB / 0.5154 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.085e-05/0.4281, allocations: 28.62 kB / 0.5154 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01307/0.4412, allocations: 5.937 MB / 0.5212 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002098/0.4414, allocations: 86.83 kB / 0.5213 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004624/0.4419, allocations: 185.9 kB / 0.5215 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009927/0.4518, allocations: 3.651 MB / 0.525 GB, free: 8.176 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4519, allocations: 0 / 0.525 GB, free: 8.176 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.4519, allocations: 6.609 kB / 0.525 GB, free: 8.172 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.4519, allocations: 0 / 0.525 GB, free: 8.172 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.00311/0.455, allocations: 0.9961 MB / 0.526 GB, free: 7.465 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/0.4551, allocations: 10.84 kB / 0.526 GB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.78e-05/0.4552, allocations: 63.3 kB / 0.5261 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000966/0.4562, allocations: 109.1 kB / 0.5262 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.4565, allocations: 325.8 kB / 0.5265 GB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.4566, allocations: 23.19 kB / 0.5265 GB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.948e-05/0.4566, allocations: 28.19 kB / 0.5266 GB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.4576, allocations: 453.7 kB / 0.527 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.4577, allocations: 3.281 kB / 0.527 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.398e-05/0.4577, allocations: 9.375 kB / 0.527 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.4577, allocations: 8.375 kB / 0.527 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009865/0.4587, allocations: 366.1 kB / 0.5274 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00257/0.4613, allocations: 2.39 MB / 0.5297 GB, free: 4.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009553/0.4623, allocations: 278.4 kB / 0.53 GB, free: 4.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002509/0.4625, allocations: 98.89 kB / 0.53 GB, free: 4.652 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003271/0.4629, allocations: 488.4 kB / 0.5305 GB, free: 4.156 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.4629, allocations: 35.16 kB / 0.5305 GB, free: 4.117 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 2.625e-06/0.4629, allocations: 1.078 kB / 0.5305 GB, free: 4.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001605/0.4645, allocations: 442.9 kB / 0.531 GB, free: 3.965 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.4646, allocations: 116.6 kB / 0.5311 GB, free: 3.832 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002811/0.4649, allocations: 322.8 kB / 0.5314 GB, free: 3.684 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.4649, allocations: 28.45 kB / 0.5314 GB, free: 3.652 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.969e-05/0.465, allocations: 213.4 kB / 0.5316 GB, free: 3.504 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.465, allocations: 42.88 kB / 0.5317 GB, free: 3.477 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.709e-05/0.4651, allocations: 49.55 kB / 0.5317 GB, free: 3.457 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.734e-05/0.4652, allocations: 341.3 kB / 0.532 GB, free: 3.133 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002462/0.4654, allocations: 88.06 kB / 0.5321 GB, free: 3.113 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/0.4657, allocations: 205.7 kB / 0.5323 GB, free: 2.941 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005035/0.4662, allocations: 284.1 kB / 0.5326 GB, free: 2.777 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.4662, allocations: 2.312 kB / 0.5326 GB, free: 2.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006721/0.4669, allocations: 309 kB / 0.5329 GB, free: 2.691 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.467, allocations: 12.12 kB / 0.5329 GB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.467, allocations: 2.938 kB / 0.5329 GB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.467, allocations: 6.25 kB / 0.5329 GB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.4672, allocations: 63.92 kB / 0.533 GB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.4673, allocations: 16.42 kB / 0.533 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002444/0.4675, allocations: 44.83 kB / 0.533 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.239e-05/0.4675, allocations: 11.81 kB / 0.533 GB, free: 2.645 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.0001327/0.4677, allocations: 159.2 kB / 0.5332 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.023e-05/0.4677, allocations: 28.78 kB / 0.5332 GB, free: 2.508 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/0.4688, allocations: 0.7442 MB / 0.5339 GB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.4688, allocations: 9.984 kB / 0.5339 GB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4688, allocations: 3.938 kB / 0.534 GB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.4688, allocations: 1.828 kB / 0.534 GB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004845/0.4693, allocations: 0.5366 MB / 0.5345 GB, free: 1.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4693, allocations: 1.906 kB / 0.5345 GB, free: 1.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/0.4695, allocations: 45.14 kB / 0.5345 GB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.4695, allocations: 0 / 0.5345 GB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.4696, allocations: 2.25 kB / 0.5345 GB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.4696, allocations: 0 / 0.5345 GB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4696, allocations: 3.938 kB / 0.5345 GB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006375/0.4702, allocations: 472.1 kB / 0.535 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.697e-05/0.4703, allocations: 112.7 kB / 0.5351 GB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.977e-05/0.4704, allocations: 23.41 kB / 0.5351 GB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.4706, allocations: 15.48 kB / 0.5351 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.328e-05/0.4706, allocations: 23.91 kB / 0.5351 GB, free: 1.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.4707, allocations: 5.094 kB / 0.5352 GB, free: 1.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003178/0.471, allocations: 346.2 kB / 0.5355 GB, free: 1.203 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.471, allocations: 2.906 kB / 0.5355 GB, free: 1.203 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002798/0.4738, allocations: 0.8391 MB / 0.5363 GB, free: 1.059 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.004694/0.4785, allocations: 1.89 MB / 0.5382 GB, free: 15.99 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007793/0.4793, allocations: 287.6 kB / 0.5384 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.4793, allocations: 0 / 0.5384 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003027/0.4796, allocations: 166.5 kB / 0.5386 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.4807, allocations: 175.9 kB / 0.5388 GB, free: 15.7 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006304/0.487, allocations: 4.057 MB / 0.5427 GB, free: 11.97 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.4874, allocations: 0.8385 MB / 0.5435 GB, free: 11.11 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003612/0.4878, allocations: 144.2 kB / 0.5437 GB, free: 10.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/0.488, allocations: 163.4 kB / 0.5438 GB, free: 10.82 MB / 398.1 MB Notification: Performance of SimCode: time 1.783e-06/0.488, allocations: 0 / 0.5438 GB, free: 10.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06946/0.5574, allocations: 38.92 MB / 0.5818 GB, free: 4.109 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.365/9.922, allocations: 7.703 kB / 0.5818 GB, free: 4.102 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