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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 117.6 kB / 18.5 MB, free: 4.582 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.001832/0.001832, allocations: 190.9 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.6 MB / 249.8 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] 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.2334/0.2334, allocations: 44.91 MB / 349.6 MB, free: 1.758 MB / 270.1 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 71.97 kB / 491.8 MB, free: 29.79 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1134, allocations: 64.26 MB / 0.543 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03517/0.1486, allocations: 30.22 MB / 0.5725 GB, free: 5.812 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01972/0.1683, allocations: 15.57 MB / 0.5877 GB, free: 6.188 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003514/0.1686, allocations: 7.938 kB / 0.5877 GB, free: 6.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006601/0.1693, allocations: 214.6 kB / 0.5879 GB, free: 5.969 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006585/0.17, allocations: 290.4 kB / 0.5882 GB, free: 5.684 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01481/0.1848, allocations: 5.624 MB / 0.5937 GB, free: 68 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001209/0.186, allocations: 0.8147 MB / 0.5945 GB, free: 15.25 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003581/0.1863, allocations: 200.7 kB / 0.5947 GB, free: 15.05 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01154/0.1979, allocations: 5.485 MB / 0.6 GB, free: 9.488 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005727/0.1985, allocations: 246.9 kB / 0.6003 GB, free: 9.246 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.967e-05/0.1986, allocations: 28 kB / 0.6003 GB, free: 9.219 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01184/0.2104, allocations: 6.088 MB / 0.6063 GB, free: 3.125 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001857/0.2106, allocations: 91.61 kB / 0.6063 GB, free: 3.035 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002877/0.2109, allocations: 183.2 kB / 0.6065 GB, free: 2.855 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2997/0.5106, allocations: 3.662 MB / 0.6101 GB, free: 16.96 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.5106, allocations: 0 / 0.6101 GB, free: 16.96 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.5106, allocations: 0.7812 kB / 0.6101 GB, free: 16.96 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.89e-05/0.5106, allocations: 0 / 0.6101 GB, free: 16.96 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.002616/0.5132, allocations: 1.016 MB / 0.6111 GB, free: 16.32 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.5133, allocations: 10.53 kB / 0.6111 GB, free: 16.32 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.786e-05/0.5133, allocations: 64.69 kB / 0.6112 GB, free: 16.28 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009988/0.5143, allocations: 112.8 kB / 0.6113 GB, free: 16.26 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005532/0.5149, allocations: 341.9 kB / 0.6116 GB, free: 16.03 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.5149, allocations: 22.84 kB / 0.6116 GB, free: 16.03 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.139e-05/0.515, allocations: 29.16 kB / 0.6116 GB, free: 16.03 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.5161, allocations: 459.6 kB / 0.6121 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.5161, allocations: 1.656 kB / 0.6121 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.364e-05/0.5161, allocations: 11.47 kB / 0.6121 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.5162, allocations: 7.719 kB / 0.6121 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.5173, allocations: 367.1 kB / 0.6124 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002844/0.5201, allocations: 2.381 MB / 0.6148 GB, free: 14.13 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.5211, allocations: 272.2 kB / 0.615 GB, free: 14.11 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002592/0.5214, allocations: 91.3 kB / 0.6151 GB, free: 14.1 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003326/0.5217, allocations: 483.5 kB / 0.6156 GB, free: 13.63 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.5217, allocations: 32.78 kB / 0.6156 GB, free: 13.59 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 1.764e-06/0.5217, allocations: 3.969 kB / 0.6156 GB, free: 13.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.001709/0.5234, allocations: 451.7 kB / 0.616 GB, free: 13.54 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.5235, allocations: 109.6 kB / 0.6161 GB, free: 13.41 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003431/0.5238, allocations: 323.7 kB / 0.6165 GB, free: 13.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.5238, allocations: 30.02 kB / 0.6165 GB, free: 13.27 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.5239, allocations: 206.5 kB / 0.6167 GB, free: 13.14 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.524, allocations: 48.77 kB / 0.6167 GB, free: 13.11 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.805e-05/0.5241, allocations: 54.77 kB / 0.6168 GB, free: 13.1 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6.174e-05/0.5241, allocations: 344.1 kB / 0.6171 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002531/0.5244, allocations: 85.69 kB / 0.6172 GB, free: 12.79 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003142/0.5247, allocations: 201.3 kB / 0.6174 GB, free: 12.64 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005303/0.5252, allocations: 285.8 kB / 0.6177 GB, free: 12.52 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.5252, allocations: 1.344 kB / 0.6177 GB, free: 12.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007086/0.5259, allocations: 320.3 kB / 0.618 GB, free: 12.46 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.526, allocations: 8.109 kB / 0.618 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.526, allocations: 3.281 kB / 0.618 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.526, allocations: 4.625 kB / 0.618 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/0.5262, allocations: 62.14 kB / 0.618 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.5263, allocations: 13.66 kB / 0.6181 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002795/0.5265, allocations: 48.52 kB / 0.6181 GB, free: 12.44 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.5266, allocations: 14.36 kB / 0.6181 GB, free: 12.44 MB / 462.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.0001352/0.5267, allocations: 153 kB / 0.6183 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.583e-05/0.5268, allocations: 32.2 kB / 0.6183 GB, free: 12.31 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.5279, allocations: 0.741 MB / 0.619 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/0.5279, allocations: 17.14 kB / 0.619 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.5279, allocations: 3.938 kB / 0.619 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.5279, allocations: 1.906 kB / 0.619 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005922/0.5285, allocations: 0.5248 MB / 0.6195 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.5285, allocations: 1 kB / 0.6195 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002081/0.5287, allocations: 47.25 kB / 0.6196 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5287, allocations: 4.875 kB / 0.6196 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.5287, allocations: 0.75 kB / 0.6196 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.5287, allocations: 1.609 kB / 0.6196 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5287, allocations: 4.781 kB / 0.6196 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006701/0.5294, allocations: 465.8 kB / 0.62 GB, free: 11.78 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.385e-05/0.5295, allocations: 124 kB / 0.6202 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.968e-05/0.5295, allocations: 25.3 kB / 0.6202 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.5297, allocations: 14.14 kB / 0.6202 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.296e-05/0.5298, allocations: 24.22 kB / 0.6202 GB, free: 11.63 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.5298, allocations: 7.234 kB / 0.6202 GB, free: 11.63 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003492/0.5302, allocations: 340.9 kB / 0.6206 GB, free: 11.55 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5302, allocations: 0 / 0.6206 GB, free: 11.55 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00314/0.5333, allocations: 0.8533 MB / 0.6214 GB, free: 11.45 MB / 462.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.006172/0.5395, allocations: 1.888 MB / 0.6232 GB, free: 10.62 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008215/0.5403, allocations: 268.8 kB / 0.6235 GB, free: 10.61 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.5403, allocations: 0 / 0.6235 GB, free: 10.61 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002793/0.5406, allocations: 139.7 kB / 0.6236 GB, free: 10.61 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.5417, allocations: 187.6 kB / 0.6238 GB, free: 10.59 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006454/0.5481, allocations: 4.017 MB / 0.6277 GB, free: 8.781 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.5485, allocations: 0.8369 MB / 0.6285 GB, free: 8.082 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004585/0.549, allocations: 153.8 kB / 0.6287 GB, free: 8.07 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.5492, allocations: 162.4 kB / 0.6288 GB, free: 8.062 MB / 462.1 MB Notification: Performance of SimCode: time 7.81e-07/0.5492, allocations: 0 / 0.6288 GB, free: 8.062 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07557/0.6247, allocations: 39.04 MB / 0.667 GB, free: 1.91 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/11.11, allocations: 3.938 kB / 0.667 GB, free: 1.906 MB / 478.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.316885970998555]