Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009934/0.0009934, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001267/0.001267, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9788/0.9788, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2515/0.2515, allocations: 34.24 MB / 294.8 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 442.2 MB, free: 1.578 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.849e-05/3.056e-05, allocations: 5.234 kB / 442.2 MB, free: 1.574 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.2303/0.2303, allocations: 27.51 MB / 469.7 MB, free: 27.01 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008877/0.2392, allocations: 13.81 MB / 483.5 MB, free: 17.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002175/0.2394, allocations: 13.53 kB / 483.5 MB, free: 17.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005206/0.2399, allocations: 204.5 kB / 483.7 MB, free: 17.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004155/0.2403, allocations: 290.2 kB / 484 MB, free: 17.65 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009813/0.2501, allocations: 5.67 MB / 489.6 MB, free: 15.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005873/0.2507, allocations: 0.8216 MB / 490.5 MB, free: 14.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002761/0.251, allocations: 194.1 kB / 490.7 MB, free: 14.75 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006269/0.2573, allocations: 5.616 MB / 496.3 MB, free: 12.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003075/0.2576, allocations: 207.7 kB / 496.5 MB, free: 12.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.855e-05/0.2576, allocations: 28.34 kB / 496.5 MB, free: 12.08 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009869/0.2675, allocations: 5.857 MB / 0.4906 GB, free: 10.76 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.2676, allocations: 90.09 kB / 0.4907 GB, free: 10.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002222/0.2679, allocations: 130.2 kB / 0.4908 GB, free: 10.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007921/0.2758, allocations: 4.657 MB / 0.4953 GB, free: 8.859 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.2758, allocations: 0 / 0.4953 GB, free: 8.859 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2758, allocations: 3.281 kB / 0.4953 GB, free: 8.859 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.2758, allocations: 0.9062 kB / 0.4953 GB, free: 8.859 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.002876/0.2787, allocations: 0.9512 MB / 0.4963 GB, free: 8.148 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.2787, allocations: 9.719 kB / 0.4963 GB, free: 8.148 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.981e-05/0.2788, allocations: 65.47 kB / 0.4963 GB, free: 8.086 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005473/0.2793, allocations: 117.5 kB / 0.4965 GB, free: 8.039 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004246/0.2797, allocations: 276 kB / 0.4967 GB, free: 7.801 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.117e-05/0.2798, allocations: 24.94 kB / 0.4967 GB, free: 7.789 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.231e-05/0.2798, allocations: 24.03 kB / 0.4968 GB, free: 7.781 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007438/0.2806, allocations: 0.5977 MB / 0.4974 GB, free: 7.277 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.2806, allocations: 4.938 kB / 0.4974 GB, free: 7.273 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.139e-05/0.2806, allocations: 12.78 kB / 0.4974 GB, free: 7.266 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.2806, allocations: 6.312 kB / 0.4974 GB, free: 7.266 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006539/0.2813, allocations: 364.7 kB / 0.4977 GB, free: 7.094 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/0.2831, allocations: 1.781 MB / 0.4995 GB, free: 5.574 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006186/0.2838, allocations: 262.8 kB / 0.4997 GB, free: 5.438 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.2839, allocations: 94.41 kB / 0.4998 GB, free: 5.387 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001901/0.2841, allocations: 98.7 kB / 0.4999 GB, free: 5.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.2841, allocations: 35.94 kB / 0.4999 GB, free: 5.297 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 2.244e-06/0.2841, allocations: 5.203 kB / 0.4999 GB, free: 5.293 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.001011/0.2851, allocations: 456.4 kB / 0.5004 GB, free: 5.062 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.2852, allocations: 105 kB / 0.5005 GB, free: 4.938 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.2855, allocations: 329.3 kB / 0.5008 GB, free: 4.719 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.2855, allocations: 31.83 kB / 0.5008 GB, free: 4.684 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.2856, allocations: 213.9 kB / 0.501 GB, free: 4.488 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.2856, allocations: 42.03 kB / 0.5011 GB, free: 4.453 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.139e-05/0.2857, allocations: 53.97 kB / 0.5011 GB, free: 4.414 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.572e-05/0.2858, allocations: 346.7 kB / 0.5014 GB, free: 4.074 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.2859, allocations: 84.75 kB / 0.5015 GB, free: 4.035 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.2861, allocations: 256.1 kB / 0.5018 GB, free: 3.781 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003304/0.2865, allocations: 277.4 kB / 0.502 GB, free: 3.559 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.2865, allocations: 6.281 kB / 0.502 GB, free: 3.555 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000444/0.2869, allocations: 323.8 kB / 0.5023 GB, free: 3.379 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.2869, allocations: 10.64 kB / 0.5024 GB, free: 3.375 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.2869, allocations: 4.062 kB / 0.5024 GB, free: 3.375 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.2869, allocations: 4.531 kB / 0.5024 GB, free: 3.375 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.2871, allocations: 66.08 kB / 0.5024 GB, free: 3.355 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.2871, allocations: 5.469 kB / 0.5024 GB, free: 3.355 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.2872, allocations: 44.86 kB / 0.5025 GB, free: 3.328 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.2872, allocations: 13.84 kB / 0.5025 GB, free: 3.324 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.0001017/0.2873, allocations: 154 kB / 0.5026 GB, free: 3.184 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.255e-05/0.2874, allocations: 34.72 kB / 0.5027 GB, free: 3.164 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000738/0.2881, allocations: 0.7861 MB / 0.5034 GB, free: 2.695 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.066e-06/0.2881, allocations: 7.219 kB / 0.5034 GB, free: 2.691 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.2881, allocations: 0 / 0.5034 GB, free: 2.691 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.2881, allocations: 5.047 kB / 0.5035 GB, free: 2.688 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000348/0.2885, allocations: 491.3 kB / 0.5039 GB, free: 2.316 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.2885, allocations: 5.688 kB / 0.5039 GB, free: 2.312 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.2886, allocations: 41.61 kB / 0.504 GB, free: 2.301 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2886, allocations: 0 / 0.504 GB, free: 2.301 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.2886, allocations: 5.531 kB / 0.504 GB, free: 2.297 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2886, allocations: 6.969 kB / 0.504 GB, free: 2.293 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2886, allocations: 3.938 kB / 0.504 GB, free: 2.289 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004496/0.2891, allocations: 477.7 kB / 0.5044 GB, free: 1.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.309e-05/0.2891, allocations: 43.41 kB / 0.5045 GB, free: 1.949 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/0.2892, allocations: 21.44 kB / 0.5045 GB, free: 1.934 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.2893, allocations: 17.27 kB / 0.5045 GB, free: 1.926 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.305e-05/0.2893, allocations: 18.59 kB / 0.5045 GB, free: 1.914 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-06/0.2893, allocations: 3.312 kB / 0.5045 GB, free: 1.914 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002688/0.2896, allocations: 348.9 kB / 0.5049 GB, free: 1.703 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2896, allocations: 0 / 0.5049 GB, free: 1.703 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003049/0.2926, allocations: 0.8508 MB / 0.5057 GB, free: 1.551 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.003332/0.296, allocations: 2.005 MB / 0.5077 GB, free: 400 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004415/0.2964, allocations: 268.7 kB / 0.5079 GB, free: 276 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2964, allocations: 0 / 0.5079 GB, free: 276 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.2966, allocations: 144.8 kB / 0.5081 GB, free: 208 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00061/0.2972, allocations: 184.7 kB / 0.5082 GB, free: 124 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004741/0.3019, allocations: 4.024 MB / 0.5122 GB, free: 13.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.3022, allocations: 238.9 kB / 0.5124 GB, free: 13.19 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002896/0.3025, allocations: 148.6 kB / 0.5125 GB, free: 13.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.3026, allocations: 166.4 kB / 0.5127 GB, free: 12.98 MB / 426.7 MB Notification: Performance of SimCode: time 1.132e-06/0.3026, allocations: 1.375 kB / 0.5127 GB, free: 12.98 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05643/0.3591, allocations: 40.41 MB / 0.5521 GB, free: 5.039 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.543/8.902, allocations: 11.02 kB / 0.5522 GB, free: 5.031 MB / 458.7 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201597 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable specificEnthalpy.h_out in file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv. Warning: Get data of variable specificEnthalpy.h_out from file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv failed! Error: Could not read variable specificEnthalpy1.h_out in file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv. Warning: Get data of variable specificEnthalpy1.h_out from file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.264582395553589]