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.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.001794/0.001794, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002386/0.002386, allocations: 211.2 kB / 22.99 MB, free: 4.602 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.66/1.66, allocations: 207.7 MB / 233.8 MB, free: 9.793 MB / 190.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.2367/0.2367, allocations: 44.26 MB / 330.3 MB, free: 9.316 MB / 270.1 MB " [Timeout remaining time 179] 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.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_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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 67.91 kB / 467.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1406, allocations: 61.04 MB / 0.5161 GB, free: 7.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.3166/0.4571, allocations: 27.56 MB / 0.5431 GB, free: 9.664 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0178/0.4749, allocations: 13.8 MB / 0.5565 GB, free: 6.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004432/0.4754, allocations: 14.56 kB / 0.5565 GB, free: 6.672 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008041/0.4762, allocations: 200.2 kB / 0.5567 GB, free: 6.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007383/0.4769, allocations: 277.6 kB / 0.557 GB, free: 6.457 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01905/0.496, allocations: 5.561 MB / 0.5624 GB, free: 4.773 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001365/0.4973, allocations: 0.8252 MB / 0.5632 GB, free: 4.387 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003671/0.4977, allocations: 190.4 kB / 0.5634 GB, free: 4.305 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01065/0.5083, allocations: 5.484 MB / 0.5688 GB, free: 1.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005464/0.5089, allocations: 232 kB / 0.569 GB, free: 1.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.852e-05/0.509, allocations: 32.62 kB / 0.569 GB, free: 1.656 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01344/0.5224, allocations: 5.836 MB / 0.5747 GB, free: 15.08 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002315/0.5226, allocations: 91.17 kB / 0.5748 GB, free: 15.01 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003686/0.523, allocations: 150.3 kB / 0.575 GB, free: 14.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009283/0.5323, allocations: 3.652 MB / 0.5785 GB, free: 12.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.5323, allocations: 0 / 0.5785 GB, free: 12.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5323, allocations: 0 / 0.5785 GB, free: 12.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.5323, allocations: 9.25 kB / 0.5785 GB, free: 12.57 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.002888/0.5352, allocations: 0.9355 MB / 0.5794 GB, free: 11.87 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.5352, allocations: 9.125 kB / 0.5795 GB, free: 11.87 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001301/0.5354, allocations: 59.89 kB / 0.5795 GB, free: 11.81 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009351/0.5363, allocations: 113.1 kB / 0.5796 GB, free: 11.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005263/0.5368, allocations: 282.2 kB / 0.5799 GB, free: 11.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.642e-05/0.5369, allocations: 25.28 kB / 0.5799 GB, free: 11.51 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.949e-05/0.5369, allocations: 24.86 kB / 0.5799 GB, free: 11.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.5382, allocations: 0.5945 MB / 0.5805 GB, free: 11 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.5382, allocations: 3.938 kB / 0.5805 GB, free: 11 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.76e-05/0.5382, allocations: 13.31 kB / 0.5805 GB, free: 10.99 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.5382, allocations: 9.516 kB / 0.5805 GB, free: 10.99 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.5394, allocations: 367.9 kB / 0.5809 GB, free: 10.82 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003375/0.5428, allocations: 1.789 MB / 0.5826 GB, free: 9.293 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.5439, allocations: 265 kB / 0.5829 GB, free: 9.156 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002829/0.5442, allocations: 93.3 kB / 0.583 GB, free: 9.105 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003075/0.5445, allocations: 105.6 kB / 0.5831 GB, free: 9.055 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.5445, allocations: 32.81 kB / 0.5831 GB, free: 9.016 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 2.154e-06/0.5445, allocations: 0 / 0.5831 GB, free: 9.016 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.001744/0.5463, allocations: 453.6 kB / 0.5835 GB, free: 8.785 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.535e-05/0.5464, allocations: 109.1 kB / 0.5837 GB, free: 8.656 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004106/0.5468, allocations: 328.5 kB / 0.584 GB, free: 8.441 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.5468, allocations: 27.02 kB / 0.584 GB, free: 8.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/0.547, allocations: 218.7 kB / 0.5842 GB, free: 8.211 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.998e-05/0.547, allocations: 41.44 kB / 0.5842 GB, free: 8.176 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.5472, allocations: 58.78 kB / 0.5843 GB, free: 8.133 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002104/0.5474, allocations: 341.6 kB / 0.5846 GB, free: 7.797 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002781/0.5476, allocations: 81.44 kB / 0.5847 GB, free: 7.762 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004239/0.5481, allocations: 268.9 kB / 0.585 GB, free: 7.492 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000682/0.5487, allocations: 278.8 kB / 0.5852 GB, free: 7.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.5487, allocations: 3.938 kB / 0.5852 GB, free: 7.266 MB / 430.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008016/0.5496, allocations: 319.4 kB / 0.5855 GB, free: 7.094 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.5496, allocations: 6.438 kB / 0.5855 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.5496, allocations: 6.562 kB / 0.5855 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.5496, allocations: 7 kB / 0.5855 GB, free: 7.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/0.5499, allocations: 65.45 kB / 0.5856 GB, free: 7.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/0.5499, allocations: 18.22 kB / 0.5856 GB, free: 7.059 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002822/0.5502, allocations: 44.81 kB / 0.5857 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.5502, allocations: 11.31 kB / 0.5857 GB, free: 7.031 MB / 430.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.0001874/0.5504, allocations: 150.7 kB / 0.5858 GB, free: 6.891 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.42e-05/0.5504, allocations: 30.5 kB / 0.5859 GB, free: 6.875 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.5517, allocations: 0.7773 MB / 0.5866 GB, free: 6.414 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.5517, allocations: 7.453 kB / 0.5866 GB, free: 6.41 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.5517, allocations: 3.938 kB / 0.5866 GB, free: 6.406 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.5517, allocations: 6.016 kB / 0.5866 GB, free: 6.402 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007013/0.5524, allocations: 495.5 kB / 0.5871 GB, free: 6.023 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.5524, allocations: 0 / 0.5871 GB, free: 6.023 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.5526, allocations: 39.98 kB / 0.5871 GB, free: 6.012 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.5526, allocations: 6.703 kB / 0.5871 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.5526, allocations: 4 kB / 0.5872 GB, free: 6.004 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.5526, allocations: 5.5 kB / 0.5872 GB, free: 6.004 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.5526, allocations: 3.938 kB / 0.5872 GB, free: 6 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007584/0.5534, allocations: 474.4 kB / 0.5876 GB, free: 5.691 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.006e-05/0.5535, allocations: 37.09 kB / 0.5876 GB, free: 5.664 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.908e-05/0.5535, allocations: 26.09 kB / 0.5877 GB, free: 5.645 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.5537, allocations: 16.94 kB / 0.5877 GB, free: 5.637 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/0.5538, allocations: 23.16 kB / 0.5877 GB, free: 5.621 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.5538, allocations: 7.812 kB / 0.5877 GB, free: 5.617 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004194/0.5542, allocations: 347.4 kB / 0.5881 GB, free: 5.406 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5542, allocations: 0 / 0.5881 GB, free: 5.406 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004363/0.5586, allocations: 0.847 MB / 0.5889 GB, free: 5.254 MB / 430.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.006138/0.5647, allocations: 1.9 MB / 0.5907 GB, free: 4.109 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008592/0.5656, allocations: 265.9 kB / 0.591 GB, free: 3.992 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.5656, allocations: 0 / 0.591 GB, free: 3.992 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003183/0.5659, allocations: 142.2 kB / 0.5911 GB, free: 3.926 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.5671, allocations: 180.5 kB / 0.5913 GB, free: 3.832 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007935/0.575, allocations: 4.031 MB / 0.5952 GB, free: 1.016 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.5753, allocations: 235.9 kB / 0.5955 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00045/0.5757, allocations: 133.1 kB / 0.5956 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/0.576, allocations: 167.4 kB / 0.5957 GB, free: 484 kB / 430.1 MB Notification: Performance of SimCode: time 1.653e-06/0.576, allocations: 0 / 0.5957 GB, free: 484 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09209/0.6681, allocations: 40.16 MB / 0.635 GB, free: 8.273 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/13.73, allocations: 15.97 kB / 0.635 GB, free: 8.258 MB / 478.1 MB " [Timeout remaining time 646] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 17.290523441974074]