Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 209.3 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.455/1.455, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2347/0.2347, allocations: 46.95 MB / 360.9 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 71.89 kB / 0.4961 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.3826, allocations: 66.03 MB / 0.5606 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03493/0.4175, allocations: 27.69 MB / 0.5876 GB, free: 8.453 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02057/0.4381, allocations: 13.84 MB / 0.6011 GB, free: 10.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003384/0.4384, allocations: 15.88 kB / 0.6012 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007074/0.4391, allocations: 202.6 kB / 0.6013 GB, free: 10.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006251/0.4397, allocations: 282.4 kB / 0.6016 GB, free: 10.08 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01564/0.4554, allocations: 5.59 MB / 0.6071 GB, free: 4.496 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001258/0.4566, allocations: 0.8342 MB / 0.6079 GB, free: 3.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003914/0.457, allocations: 196.9 kB / 0.6081 GB, free: 3.465 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0133/0.4703, allocations: 5.493 MB / 0.6134 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005813/0.4709, allocations: 247 kB / 0.6137 GB, free: 13.64 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.374e-05/0.471, allocations: 28 kB / 0.6137 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01394/0.4849, allocations: 6.072 MB / 0.6196 GB, free: 7.539 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002234/0.4851, allocations: 91.69 kB / 0.6197 GB, free: 7.449 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003429/0.4855, allocations: 159.3 kB / 0.6199 GB, free: 7.293 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008751/0.4942, allocations: 3.679 MB / 0.6235 GB, free: 3.605 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4942, allocations: 0 / 0.6235 GB, free: 3.605 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4942, allocations: 0 / 0.6235 GB, free: 3.605 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.4942, allocations: 0 / 0.6235 GB, free: 3.605 MB / 462.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.002189/0.4964, allocations: 0.9508 MB / 0.6244 GB, free: 2.621 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.4965, allocations: 8.031 kB / 0.6244 GB, free: 2.613 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.039e-05/0.4966, allocations: 62.73 kB / 0.6245 GB, free: 2.543 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009499/0.4975, allocations: 124.6 kB / 0.6246 GB, free: 2.422 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005023/0.498, allocations: 280.9 kB / 0.6248 GB, free: 2.121 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/0.4981, allocations: 24.81 kB / 0.6249 GB, free: 2.098 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.194e-05/0.4981, allocations: 28.12 kB / 0.6249 GB, free: 2.07 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.4993, allocations: 0.5902 MB / 0.6255 GB, free: 1.402 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.4993, allocations: 4 kB / 0.6255 GB, free: 1.398 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.4994, allocations: 16 kB / 0.6255 GB, free: 1.383 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.4994, allocations: 4 kB / 0.6255 GB, free: 1.379 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.5005, allocations: 365.2 kB / 0.6258 GB, free: 1.023 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002928/0.5034, allocations: 1.788 MB / 0.6276 GB, free: 15.15 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.5046, allocations: 270.3 kB / 0.6279 GB, free: 14.88 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000279/0.5049, allocations: 92.73 kB / 0.6279 GB, free: 14.78 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002824/0.5052, allocations: 103.9 kB / 0.628 GB, free: 14.68 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.5052, allocations: 38.56 kB / 0.6281 GB, free: 14.63 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 1.583e-06/0.5052, allocations: 0 / 0.6281 GB, free: 14.63 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.001762/0.507, allocations: 453.3 kB / 0.6285 GB, free: 14.18 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.543e-05/0.507, allocations: 106.8 kB / 0.6286 GB, free: 14.05 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003816/0.5074, allocations: 332.4 kB / 0.6289 GB, free: 13.72 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.5074, allocations: 29.7 kB / 0.629 GB, free: 13.68 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.5076, allocations: 215.9 kB / 0.6292 GB, free: 13.47 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.001e-05/0.5077, allocations: 39.69 kB / 0.6292 GB, free: 13.43 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.367e-05/0.5078, allocations: 53.66 kB / 0.6292 GB, free: 13.37 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.5079, allocations: 342.8 kB / 0.6296 GB, free: 13.03 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002877/0.5082, allocations: 95.88 kB / 0.6297 GB, free: 12.93 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000398/0.5086, allocations: 250.8 kB / 0.6299 GB, free: 12.62 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006034/0.5092, allocations: 281.4 kB / 0.6302 GB, free: 12.3 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5092, allocations: 0 / 0.6302 GB, free: 12.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007558/0.51, allocations: 317.5 kB / 0.6305 GB, free: 11.98 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.51, allocations: 4 kB / 0.6305 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.51, allocations: 4 kB / 0.6305 GB, free: 11.97 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.51, allocations: 8 kB / 0.6305 GB, free: 11.96 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.5103, allocations: 67.83 kB / 0.6306 GB, free: 11.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.5103, allocations: 7.984 kB / 0.6306 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.5105, allocations: 44.17 kB / 0.6306 GB, free: 11.85 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.661e-05/0.5106, allocations: 12 kB / 0.6306 GB, free: 11.84 MB / 478.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.5107, allocations: 157.7 kB / 0.6308 GB, free: 11.67 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.867e-05/0.5108, allocations: 31.81 kB / 0.6308 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/0.512, allocations: 0.7683 MB / 0.6316 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.512, allocations: 11.92 kB / 0.6316 GB, free: 10.85 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.512, allocations: 0 / 0.6316 GB, free: 10.85 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.512, allocations: 4 kB / 0.6316 GB, free: 10.85 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005565/0.5126, allocations: 485.8 kB / 0.632 GB, free: 10.33 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.5126, allocations: 7.984 kB / 0.632 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.5128, allocations: 43.95 kB / 0.6321 GB, free: 10.28 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.5128, allocations: 3.984 kB / 0.6321 GB, free: 10.28 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.5128, allocations: 7.938 kB / 0.6321 GB, free: 10.27 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.5128, allocations: 7.938 kB / 0.6321 GB, free: 10.26 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5128, allocations: 0 / 0.6321 GB, free: 10.26 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007279/0.5136, allocations: 470.6 kB / 0.6325 GB, free: 9.785 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.108e-05/0.5136, allocations: 39.7 kB / 0.6326 GB, free: 9.746 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.782e-05/0.5137, allocations: 23.78 kB / 0.6326 GB, free: 9.723 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.5139, allocations: 19.91 kB / 0.6326 GB, free: 9.703 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.21e-05/0.514, allocations: 19.97 kB / 0.6326 GB, free: 9.684 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.514, allocations: 4 kB / 0.6326 GB, free: 9.68 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003874/0.5144, allocations: 350.8 kB / 0.633 GB, free: 9.336 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5144, allocations: 0 / 0.633 GB, free: 9.336 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002583/0.517, allocations: 0.8499 MB / 0.6338 GB, free: 8.484 MB / 478.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.004516/0.5215, allocations: 1.899 MB / 0.6357 GB, free: 6.559 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007193/0.5222, allocations: 264.3 kB / 0.6359 GB, free: 6.301 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.5222, allocations: 0 / 0.6359 GB, free: 6.301 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002968/0.5225, allocations: 143.5 kB / 0.6361 GB, free: 6.164 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009866/0.5235, allocations: 182.9 kB / 0.6362 GB, free: 5.988 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006345/0.5298, allocations: 4.033 MB / 0.6402 GB, free: 1.785 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.5301, allocations: 239.7 kB / 0.6404 GB, free: 1.523 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003943/0.5305, allocations: 148.3 kB / 0.6405 GB, free: 1.379 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002491/0.5307, allocations: 167.4 kB / 0.6407 GB, free: 1.215 MB / 478.1 MB Notification: Performance of SimCode: time 7.12e-07/0.5307, allocations: 0 / 0.6407 GB, free: 1.215 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08835/0.6191, allocations: 40.38 MB / 0.6801 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.34, allocations: 12.75 kB / 0.6801 GB, free: 9.07 MB / 0.5137 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201597 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.555880494997837]