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.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.0008413/0.0008413, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0007823/0.0007823, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9034/0.9034, allocations: 177.1 MB / 204.3 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2357/0.2357, allocations: 32.79 MB / 293.5 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 180] 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.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_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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.62e-05/1.8e-05, allocations: 3.547 kB / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.216/0.2161, allocations: 27.52 MB / 467.1 MB, free: 30.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008938/0.225, allocations: 13.8 MB / 480.9 MB, free: 21.13 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003683/0.2254, allocations: 14.44 kB / 480.9 MB, free: 21.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006388/0.226, allocations: 198.2 kB / 481.1 MB, free: 21.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005349/0.2265, allocations: 292.8 kB / 481.4 MB, free: 20.83 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01281/0.2393, allocations: 5.674 MB / 487.1 MB, free: 18.42 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001227/0.2406, allocations: 0.8226 MB / 487.9 MB, free: 18.03 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003651/0.2409, allocations: 205.2 kB / 488.1 MB, free: 17.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006878/0.2478, allocations: 5.606 MB / 493.7 MB, free: 15.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004626/0.2483, allocations: 208.3 kB / 493.9 MB, free: 15.26 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.631e-05/0.2483, allocations: 28.66 kB / 493.9 MB, free: 15.26 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009926/0.2583, allocations: 5.853 MB / 499.8 MB, free: 13.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001754/0.2584, allocations: 89.7 kB / 499.9 MB, free: 13.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003023/0.2587, allocations: 134.5 kB / 0.4883 GB, free: 13.84 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01211/0.2709, allocations: 4.66 MB / 0.4928 GB, free: 12.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.2709, allocations: 1.375 kB / 0.4928 GB, free: 12.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.2709, allocations: 0 / 0.4928 GB, free: 12.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.2709, allocations: 0 / 0.4928 GB, free: 12.32 MB / 410.7 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.003951/0.2748, allocations: 0.9435 MB / 0.4938 GB, free: 11.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.2749, allocations: 9.625 kB / 0.4938 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.04e-05/0.2749, allocations: 62.97 kB / 0.4938 GB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006073/0.2755, allocations: 122.6 kB / 0.494 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004927/0.276, allocations: 279.9 kB / 0.4942 GB, free: 11.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.2761, allocations: 20.53 kB / 0.4942 GB, free: 11.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.2761, allocations: 28.38 kB / 0.4943 GB, free: 11.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007247/0.2768, allocations: 0.5917 MB / 0.4948 GB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.2768, allocations: 3.938 kB / 0.4948 GB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.2768, allocations: 19.7 kB / 0.4949 GB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.2769, allocations: 7.656 kB / 0.4949 GB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000633/0.2775, allocations: 364.6 kB / 0.4952 GB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.2793, allocations: 1.771 MB / 0.497 GB, free: 9.043 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005902/0.2799, allocations: 270.7 kB / 0.4972 GB, free: 8.902 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.2801, allocations: 90.33 kB / 0.4973 GB, free: 8.855 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001931/0.2802, allocations: 100.2 kB / 0.4974 GB, free: 8.809 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.2803, allocations: 36.09 kB / 0.4974 GB, free: 8.766 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.2803, allocations: 0 / 0.4974 GB, free: 8.766 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.000946/0.2812, allocations: 454.7 kB / 0.4979 GB, free: 8.535 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.2813, allocations: 111.4 kB / 0.498 GB, free: 8.406 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002923/0.2815, allocations: 329.5 kB / 0.4983 GB, free: 8.188 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.2816, allocations: 27.33 kB / 0.4983 GB, free: 8.156 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.165e-05/0.2817, allocations: 214.5 kB / 0.4985 GB, free: 7.961 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.2817, allocations: 41.25 kB / 0.4986 GB, free: 7.926 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.789e-05/0.2817, allocations: 54.78 kB / 0.4986 GB, free: 7.887 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.532e-05/0.2818, allocations: 341.6 kB / 0.4989 GB, free: 7.551 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.2819, allocations: 80.38 kB / 0.499 GB, free: 7.516 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.2821, allocations: 263.5 kB / 0.4993 GB, free: 7.254 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003084/0.2824, allocations: 285.1 kB / 0.4995 GB, free: 7.023 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.2824, allocations: 5.031 kB / 0.4995 GB, free: 7.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004454/0.2829, allocations: 323.8 kB / 0.4998 GB, free: 6.844 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.2829, allocations: 11.52 kB / 0.4999 GB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.2829, allocations: 3.938 kB / 0.4999 GB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.2829, allocations: 4.219 kB / 0.4999 GB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.2831, allocations: 58.41 kB / 0.4999 GB, free: 6.828 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.2831, allocations: 9.234 kB / 0.4999 GB, free: 6.824 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.2833, allocations: 44.48 kB / 0.5 GB, free: 6.797 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.2833, allocations: 22.78 kB / 0.5 GB, free: 6.785 MB / 410.7 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.0001296/0.2834, allocations: 157.5 kB / 0.5001 GB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.46e-05/0.2835, allocations: 29.75 kB / 0.5002 GB, free: 6.625 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007834/0.2843, allocations: 0.7945 MB / 0.5009 GB, free: 6.152 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.2843, allocations: 7.781 kB / 0.501 GB, free: 6.148 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.2843, allocations: 0 / 0.501 GB, free: 6.148 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.2843, allocations: 3.984 kB / 0.501 GB, free: 6.145 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004895/0.2848, allocations: 487.8 kB / 0.5014 GB, free: 5.777 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.2848, allocations: 2.438 kB / 0.5014 GB, free: 5.777 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.2849, allocations: 40.67 kB / 0.5015 GB, free: 5.766 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.2849, allocations: 8.062 kB / 0.5015 GB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.2849, allocations: 1.062 kB / 0.5015 GB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.2849, allocations: 1.031 kB / 0.5015 GB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.2849, allocations: 0 / 0.5015 GB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005128/0.2855, allocations: 480.7 kB / 0.5019 GB, free: 5.449 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.515e-05/0.2855, allocations: 38.86 kB / 0.502 GB, free: 5.422 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/0.2856, allocations: 30.23 kB / 0.502 GB, free: 5.398 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.2857, allocations: 16.58 kB / 0.502 GB, free: 5.391 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.47e-05/0.2857, allocations: 15.09 kB / 0.502 GB, free: 5.383 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.2858, allocations: 8.438 kB / 0.502 GB, free: 5.379 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003211/0.2861, allocations: 344.4 kB / 0.5024 GB, free: 5.172 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2861, allocations: 0 / 0.5024 GB, free: 5.172 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004537/0.2906, allocations: 0.8545 MB / 0.5032 GB, free: 5.016 MB / 410.7 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.007705/0.2983, allocations: 2.016 MB / 0.5052 GB, free: 3.848 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006886/0.299, allocations: 269.5 kB / 0.5054 GB, free: 3.727 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.299, allocations: 0 / 0.5054 GB, free: 3.727 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.2992, allocations: 140.3 kB / 0.5056 GB, free: 3.664 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007352/0.2999, allocations: 184 kB / 0.5057 GB, free: 3.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006039/0.306, allocations: 4.015 MB / 0.5097 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.3061, allocations: 238.5 kB / 0.5099 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002967/0.3064, allocations: 151.5 kB / 0.51 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.3065, allocations: 166.8 kB / 0.5102 GB, free: 444 kB / 410.7 MB Notification: Performance of SimCode: time 1.323e-06/0.3065, allocations: 0 / 0.5102 GB, free: 444 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06024/0.3668, allocations: 40.43 MB / 0.5497 GB, free: 9.285 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.905/8.272, allocations: 3 kB / 0.5497 GB, free: 9.285 MB / 458.7 MB " [Timeout remaining time 652] (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 --stepSize=0.000201597 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 10.41891859471798]