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.001013/0.001013, allocations: 80.53 kB / 19.92 MB, free: 4.637 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.001128/0.001128, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.941/0.941, allocations: 158.6 MB / 185 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] 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.1371/0.1371, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 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.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: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 406.8 MB, free: 2.246 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.548e-05, allocations: 6.219 kB / 406.8 MB, free: 2.238 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.02109/0.02112, allocations: 27.4 MB / 434.2 MB, free: 6.738 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01169/0.03281, allocations: 13.79 MB / 448 MB, free: 8.895 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003658/0.03318, allocations: 11.88 kB / 448 MB, free: 8.883 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006865/0.03386, allocations: 198.6 kB / 448.2 MB, free: 8.688 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000545/0.03441, allocations: 290.1 kB / 448.5 MB, free: 8.402 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01343/0.04783, allocations: 5.634 MB / 454.2 MB, free: 2.746 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009595/0.04879, allocations: 0.8224 MB / 455 MB, free: 1.922 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002876/0.04908, allocations: 192.9 kB / 455.2 MB, free: 1.734 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006459/0.05554, allocations: 5.591 MB / 460.8 MB, free: 12.06 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003181/0.05586, allocations: 211.3 kB / 461 MB, free: 11.86 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.528e-05/0.0559, allocations: 28 kB / 461 MB, free: 11.83 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007442/0.06335, allocations: 5.841 MB / 466.8 MB, free: 5.977 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.06348, allocations: 95.66 kB / 466.9 MB, free: 5.883 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001947/0.06368, allocations: 143.6 kB / 467.1 MB, free: 5.742 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007572/0.07125, allocations: 4.619 MB / 471.7 MB, free: 1.113 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.07126, allocations: 0 / 471.7 MB, free: 1.113 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.07126, allocations: 3.984 kB / 471.7 MB, free: 1.109 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.07127, allocations: 0 / 471.7 MB, free: 1.109 MB / 442.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.001716/0.07298, allocations: 0.9391 MB / 472.6 MB, free: 140 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.07303, allocations: 12.03 kB / 472.6 MB, free: 128 kB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.093e-05/0.07308, allocations: 62.73 kB / 472.7 MB, free: 56 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1592/0.2323, allocations: 107.6 kB / 472.8 MB, free: 103.4 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006705/0.233, allocations: 274.1 kB / 473.1 MB, free: 103.2 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.381e-05/0.233, allocations: 25.38 kB / 473.1 MB, free: 103.2 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.07e-05/0.233, allocations: 23.84 kB / 473.1 MB, free: 103.2 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007461/0.2338, allocations: 0.5953 MB / 473.7 MB, free: 102.9 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2338, allocations: 3.375 kB / 473.7 MB, free: 102.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.2338, allocations: 11.69 kB / 473.7 MB, free: 102.9 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.2338, allocations: 13.5 kB / 473.7 MB, free: 102.9 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005326/0.2344, allocations: 362.9 kB / 474.1 MB, free: 102.9 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.2361, allocations: 1.78 MB / 475.9 MB, free: 101.6 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006413/0.2367, allocations: 270.1 kB / 476.1 MB, free: 101.6 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.2368, allocations: 90.94 kB / 476.2 MB, free: 101.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001711/0.237, allocations: 92.67 kB / 476.3 MB, free: 101.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.237, allocations: 37.72 kB / 476.4 MB, free: 101.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=12): time 2.414e-06/0.237, allocations: 0 / 476.4 MB, free: 101.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008356/0.2379, allocations: 455.9 kB / 476.8 MB, free: 101.4 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.2379, allocations: 102.8 kB / 476.9 MB, free: 101.2 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.2381, allocations: 327.2 kB / 477.2 MB, free: 101.1 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.2381, allocations: 33.64 kB / 477.3 MB, free: 101 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.476e-05/0.2382, allocations: 208.2 kB / 477.5 MB, free: 100.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.2383, allocations: 44.59 kB / 477.5 MB, free: 100.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.317e-05/0.2383, allocations: 58.23 kB / 477.6 MB, free: 100.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.793e-05/0.2384, allocations: 340 kB / 477.9 MB, free: 100.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.2385, allocations: 84.53 kB / 478 MB, free: 100.4 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.2387, allocations: 255.8 kB / 478.2 MB, free: 100.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/0.2389, allocations: 284.3 kB / 478.5 MB, free: 100 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2389, allocations: 0 / 478.5 MB, free: 100 MB / 442.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003631/0.2393, allocations: 323.6 kB / 478.8 MB, free: 99.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.2393, allocations: 6.281 kB / 478.8 MB, free: 99.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.2393, allocations: 5.781 kB / 478.8 MB, free: 99.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.2393, allocations: 6.188 kB / 478.8 MB, free: 99.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.2395, allocations: 58.48 kB / 478.9 MB, free: 99.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.2395, allocations: 6.469 kB / 478.9 MB, free: 99.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.2396, allocations: 49.16 kB / 479 MB, free: 99.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.2396, allocations: 17.28 kB / 479 MB, free: 99.88 MB / 442.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 9.626e-05/0.2397, allocations: 158.2 kB / 479.1 MB, free: 99.74 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.757e-05/0.2398, allocations: 28.75 kB / 479.2 MB, free: 99.72 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005732/0.2403, allocations: 0.785 MB / 479.9 MB, free: 99.38 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.968e-06/0.2404, allocations: 12.75 kB / 479.9 MB, free: 99.37 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.2404, allocations: 0.5 kB / 480 MB, free: 99.37 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2404, allocations: 0 / 480 MB, free: 99.37 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002873/0.2406, allocations: 490.6 kB / 480.4 MB, free: 99.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2407, allocations: 0 / 480.4 MB, free: 99.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.2408, allocations: 43.69 kB / 480.5 MB, free: 99.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.2408, allocations: 0 / 480.5 MB, free: 99.08 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.2408, allocations: 0 / 480.5 MB, free: 99.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.2408, allocations: 3 kB / 480.5 MB, free: 99.08 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2408, allocations: 5.281 kB / 480.5 MB, free: 99.08 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003567/0.2411, allocations: 483 kB / 481 MB, free: 98.81 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/0.2412, allocations: 43.98 kB / 481 MB, free: 98.79 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/0.2412, allocations: 25.27 kB / 481 MB, free: 98.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.998e-05/0.2413, allocations: 17.06 kB / 481 MB, free: 98.77 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.063e-05/0.2414, allocations: 16.3 kB / 481.1 MB, free: 98.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.487e-06/0.2414, allocations: 10.06 kB / 481.1 MB, free: 98.77 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000198/0.2416, allocations: 343 kB / 481.4 MB, free: 98.61 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2416, allocations: 0 / 481.4 MB, free: 98.61 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00171/0.2433, allocations: 0.849 MB / 482.2 MB, free: 98.5 MB / 442.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.00291/0.2462, allocations: 2.016 MB / 484.3 MB, free: 97.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004245/0.2466, allocations: 267.5 kB / 484.5 MB, free: 97.52 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2466, allocations: 3.75 kB / 484.5 MB, free: 97.52 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.2467, allocations: 141 kB / 484.7 MB, free: 97.48 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005653/0.2473, allocations: 176.9 kB / 484.8 MB, free: 97.45 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003572/0.2509, allocations: 3.999 MB / 488.8 MB, free: 95.06 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.251, allocations: 245.8 kB / 489.1 MB, free: 94.97 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002431/0.2512, allocations: 148.4 kB / 489.2 MB, free: 94.97 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.2514, allocations: 159.5 kB / 489.4 MB, free: 94.85 MB / 442.7 MB Notification: Performance of SimCode: time 1.102e-06/0.2514, allocations: 0 / 489.4 MB, free: 94.85 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06067/0.312, allocations: 40.35 MB / 0.5173 GB, free: 74.14 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.678/7.99, allocations: 0 / 0.5173 GB, free: 74.14 MB / 442.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins/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: 10.226339519955218]