Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00193/0.00193, allocations: 109.9 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002071/0.002071, allocations: 191.7 kB / 20.02 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.1 MB / 227.9 MB, free: 4.344 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3347/0.3347, allocations: 43.5 MB / 320.8 MB, free: 8.988 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 67.89 kB / 450 MB, free: 11.11 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.299, allocations: 57.77 MB / 0.4959 GB, free: 19.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.02724/0.3263, allocations: 30.07 MB / 0.5253 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01906/0.3454, allocations: 15.51 MB / 0.5404 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003632/0.3458, allocations: 11.94 kB / 0.5404 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000697/0.3466, allocations: 214.6 kB / 0.5406 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006471/0.3472, allocations: 274.4 kB / 0.5409 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01864/0.3659, allocations: 5.607 MB / 0.5464 GB, free: 6.559 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001515/0.3674, allocations: 0.8108 MB / 0.5471 GB, free: 5.746 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004203/0.3678, allocations: 224.8 kB / 0.5474 GB, free: 5.523 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01341/0.3813, allocations: 5.454 MB / 0.5527 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000476/0.3818, allocations: 234.9 kB / 0.5529 GB, free: 15.76 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.426e-05/0.3819, allocations: 36 kB / 0.5529 GB, free: 15.72 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01274/0.3946, allocations: 6.087 MB / 0.5589 GB, free: 9.629 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000176/0.3948, allocations: 83.73 kB / 0.559 GB, free: 9.547 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002937/0.3951, allocations: 195.1 kB / 0.5592 GB, free: 9.355 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008486/0.4036, allocations: 3.652 MB / 0.5627 GB, free: 5.695 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.4036, allocations: 0 / 0.5627 GB, free: 5.695 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4037, allocations: 0 / 0.5627 GB, free: 5.695 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.4037, allocations: 8 kB / 0.5627 GB, free: 5.688 MB / 430.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.002296/0.406, allocations: 1.011 MB / 0.5637 GB, free: 4.625 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.406, allocations: 11.89 kB / 0.5637 GB, free: 4.613 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.213e-05/0.4061, allocations: 62.72 kB / 0.5638 GB, free: 4.543 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008697/0.407, allocations: 112.6 kB / 0.5639 GB, free: 4.434 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004907/0.4075, allocations: 342.7 kB / 0.5642 GB, free: 4.062 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.4075, allocations: 20.94 kB / 0.5642 GB, free: 4.043 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.322e-05/0.4076, allocations: 28.12 kB / 0.5643 GB, free: 4.016 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.4087, allocations: 454.9 kB / 0.5647 GB, free: 3.527 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.4087, allocations: 0 / 0.5647 GB, free: 3.527 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.561e-05/0.4088, allocations: 16 kB / 0.5647 GB, free: 3.512 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.4088, allocations: 11.98 kB / 0.5647 GB, free: 3.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.4099, allocations: 365.3 kB / 0.5651 GB, free: 3.145 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003285/0.4132, allocations: 2.38 MB / 0.5674 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.4143, allocations: 278.3 kB / 0.5677 GB, free: 280 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002823/0.4146, allocations: 93.02 kB / 0.5678 GB, free: 184 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005105/0.4151, allocations: 485.3 kB / 0.5682 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.4152, allocations: 38.56 kB / 0.5683 GB, free: 15.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 3.807e-06/0.4152, allocations: 4 kB / 0.5683 GB, free: 15.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.001807/0.417, allocations: 453 kB / 0.5687 GB, free: 15.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.191e-05/0.4171, allocations: 106.8 kB / 0.5688 GB, free: 14.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004068/0.4175, allocations: 320.5 kB / 0.5691 GB, free: 14.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.4175, allocations: 25.7 kB / 0.5691 GB, free: 14.63 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.4177, allocations: 223.9 kB / 0.5693 GB, free: 14.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.4178, allocations: 39.69 kB / 0.5694 GB, free: 14.37 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.972e-05/0.4179, allocations: 61.64 kB / 0.5694 GB, free: 14.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.418, allocations: 338.8 kB / 0.5698 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002668/0.4183, allocations: 83.94 kB / 0.5698 GB, free: 13.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003704/0.4187, allocations: 203.3 kB / 0.57 GB, free: 13.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005982/0.4193, allocations: 281.4 kB / 0.5703 GB, free: 13.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.4193, allocations: 8 kB / 0.5703 GB, free: 13.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007518/0.4201, allocations: 317.1 kB / 0.5706 GB, free: 12.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.4201, allocations: 8 kB / 0.5706 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/0.4201, allocations: 4 kB / 0.5706 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/0.4201, allocations: 7.984 kB / 0.5706 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/0.4204, allocations: 67.84 kB / 0.5707 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.4204, allocations: 7.984 kB / 0.5707 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00023/0.4207, allocations: 44.08 kB / 0.5707 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/0.4207, allocations: 16 kB / 0.5708 GB, free: 12.82 MB / 446.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.0001646/0.4209, allocations: 153.7 kB / 0.5709 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.589e-05/0.4209, allocations: 31.81 kB / 0.5709 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.4222, allocations: 0.7448 MB / 0.5717 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.061e-05/0.4222, allocations: 15.92 kB / 0.5717 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4222, allocations: 0 / 0.5717 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.4222, allocations: 3.984 kB / 0.5717 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005629/0.4228, allocations: 0.5222 MB / 0.5722 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.4228, allocations: 0 / 0.5722 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002137/0.423, allocations: 51.95 kB / 0.5722 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.423, allocations: 0 / 0.5722 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.423, allocations: 4 kB / 0.5722 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.423, allocations: 3.938 kB / 0.5722 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4231, allocations: 7.922 kB / 0.5723 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000774/0.4238, allocations: 466 kB / 0.5727 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.768e-05/0.4239, allocations: 112.8 kB / 0.5728 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.192e-05/0.424, allocations: 27.78 kB / 0.5728 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.4242, allocations: 15.92 kB / 0.5728 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.946e-05/0.4243, allocations: 19.97 kB / 0.5729 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.4243, allocations: 7.938 kB / 0.5729 GB, free: 10.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003879/0.4247, allocations: 346.8 kB / 0.5732 GB, free: 10.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4248, allocations: 3.938 kB / 0.5732 GB, free: 10.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002245/0.427, allocations: 0.85 MB / 0.574 GB, free: 9.348 MB / 446.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.004791/0.4318, allocations: 1.899 MB / 0.5759 GB, free: 7.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008062/0.4327, allocations: 269.1 kB / 0.5761 GB, free: 7.168 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.4327, allocations: 4 kB / 0.5762 GB, free: 7.164 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003255/0.433, allocations: 159.9 kB / 0.5763 GB, free: 7.008 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009971/0.434, allocations: 198.6 kB / 0.5765 GB, free: 6.812 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006753/0.4408, allocations: 4.015 MB / 0.5804 GB, free: 2.621 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005257/0.4413, allocations: 0.8385 MB / 0.5812 GB, free: 1.758 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003758/0.4417, allocations: 142.8 kB / 0.5814 GB, free: 1.617 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.442, allocations: 163.3 kB / 0.5815 GB, free: 1.457 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.442, allocations: 0 / 0.5815 GB, free: 1.457 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07838/0.5204, allocations: 38.92 MB / 0.6195 GB, free: 10.46 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/11.11, allocations: 15.91 kB / 0.6196 GB, free: 10.45 MB / 494.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201597 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 14.258230771869421]