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.001807/0.001807, allocations: 111.1 kB / 20.44 MB, free: 1.34 MB / 14.72 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.002038/0.002038, allocations: 210.2 kB / 23.72 MB, free: 4.531 MB / 14.72 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 1.477/1.477, allocations: 230.5 MB / 257.4 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] 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.2332/0.2332, allocations: 46.95 MB / 360.8 MB, free: 3.922 MB / 286.1 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 0.002255/0.002255, allocations: 75.88 kB / 0.4961 GB, free: 7.543 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3295, allocations: 66.08 MB / 0.5607 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03315/0.3627, allocations: 27.69 MB / 0.5877 GB, free: 8.266 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02042/0.3831, allocations: 13.83 MB / 0.6012 GB, free: 10.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004638/0.3835, allocations: 11.88 kB / 0.6012 GB, free: 10.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008241/0.3844, allocations: 202.7 kB / 0.6014 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009159/0.3853, allocations: 274.3 kB / 0.6017 GB, free: 9.906 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0162/0.4015, allocations: 5.596 MB / 0.6072 GB, free: 4.316 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001342/0.4028, allocations: 0.8304 MB / 0.608 GB, free: 3.484 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000533/0.4034, allocations: 193 kB / 0.6082 GB, free: 3.293 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01386/0.4172, allocations: 5.497 MB / 0.6135 GB, free: 13.71 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005163/0.4177, allocations: 247 kB / 0.6138 GB, free: 13.47 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.288e-05/0.4178, allocations: 32 kB / 0.6138 GB, free: 13.44 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01116/0.429, allocations: 6.072 MB / 0.6197 GB, free: 7.359 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.4291, allocations: 91.67 kB / 0.6198 GB, free: 7.27 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000263/0.4294, allocations: 159.3 kB / 0.62 GB, free: 7.113 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007404/0.4368, allocations: 3.675 MB / 0.6236 GB, free: 3.43 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4368, allocations: 0 / 0.6236 GB, free: 3.43 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4368, allocations: 0 / 0.6236 GB, free: 3.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.4368, allocations: 3.938 kB / 0.6236 GB, free: 3.426 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.002392/0.4392, allocations: 0.947 MB / 0.6245 GB, free: 2.445 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.4393, allocations: 8.031 kB / 0.6245 GB, free: 2.438 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.111e-05/0.4393, allocations: 62.67 kB / 0.6245 GB, free: 2.367 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.4403, allocations: 124.6 kB / 0.6247 GB, free: 2.246 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005204/0.4409, allocations: 277 kB / 0.6249 GB, free: 1.949 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.396e-05/0.4409, allocations: 28.81 kB / 0.625 GB, free: 1.922 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.314e-05/0.4409, allocations: 28.12 kB / 0.625 GB, free: 1.895 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.4422, allocations: 0.5979 MB / 0.6256 GB, free: 1.219 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.4422, allocations: 0 / 0.6256 GB, free: 1.219 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.515e-05/0.4422, allocations: 12 kB / 0.6256 GB, free: 1.207 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.4423, allocations: 8 kB / 0.6256 GB, free: 1.199 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.4434, allocations: 365.3 kB / 0.6259 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002876/0.4462, allocations: 1.773 MB / 0.6277 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.4473, allocations: 274.3 kB / 0.6279 GB, free: 14.71 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002661/0.4475, allocations: 92.8 kB / 0.628 GB, free: 14.61 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002686/0.4478, allocations: 111.9 kB / 0.6281 GB, free: 14.5 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.4478, allocations: 34.5 kB / 0.6282 GB, free: 14.46 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 1.754e-06/0.4478, allocations: 4 kB / 0.6282 GB, free: 14.46 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.001694/0.4495, allocations: 449.3 kB / 0.6286 GB, free: 14.01 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.41e-05/0.4496, allocations: 110.7 kB / 0.6287 GB, free: 13.88 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003806/0.45, allocations: 332.4 kB / 0.629 GB, free: 13.54 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.45, allocations: 25.7 kB / 0.629 GB, free: 13.51 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.4502, allocations: 219.9 kB / 0.6292 GB, free: 13.29 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.493e-05/0.4502, allocations: 39.67 kB / 0.6293 GB, free: 13.25 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.511e-05/0.4503, allocations: 61.66 kB / 0.6293 GB, free: 13.19 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.4505, allocations: 342.8 kB / 0.6297 GB, free: 12.84 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/0.4508, allocations: 79.94 kB / 0.6297 GB, free: 12.77 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003837/0.4511, allocations: 262.7 kB / 0.63 GB, free: 12.44 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005906/0.4517, allocations: 277.9 kB / 0.6303 GB, free: 12.12 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4517, allocations: 0 / 0.6303 GB, free: 12.12 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007534/0.4525, allocations: 320.9 kB / 0.6306 GB, free: 11.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.4525, allocations: 4 kB / 0.6306 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.4525, allocations: 7.984 kB / 0.6306 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.4525, allocations: 8.469 kB / 0.6306 GB, free: 11.78 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.4528, allocations: 67.84 kB / 0.6307 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.4528, allocations: 11.92 kB / 0.6307 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.453, allocations: 43.77 kB / 0.6307 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.4531, allocations: 12 kB / 0.6307 GB, free: 11.65 MB / 478.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.0001694/0.4532, allocations: 149.8 kB / 0.6309 GB, free: 11.49 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.487e-05/0.4533, allocations: 35.81 kB / 0.6309 GB, free: 11.46 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.4545, allocations: 0.7683 MB / 0.6316 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.4545, allocations: 11.94 kB / 0.6317 GB, free: 10.67 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4545, allocations: 0 / 0.6317 GB, free: 10.67 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.4545, allocations: 3.984 kB / 0.6317 GB, free: 10.66 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005658/0.4551, allocations: 485.8 kB / 0.6321 GB, free: 10.15 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.4551, allocations: 0 / 0.6321 GB, free: 10.15 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002081/0.4553, allocations: 47.95 kB / 0.6322 GB, free: 10.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.4553, allocations: 0 / 0.6322 GB, free: 10.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.4553, allocations: 0 / 0.6322 GB, free: 10.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.4553, allocations: 3.938 kB / 0.6322 GB, free: 10.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.4553, allocations: 4 kB / 0.6322 GB, free: 10.09 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000783/0.4561, allocations: 478.9 kB / 0.6326 GB, free: 9.609 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.233e-05/0.4562, allocations: 43.7 kB / 0.6327 GB, free: 9.566 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.343e-05/0.4562, allocations: 23.77 kB / 0.6327 GB, free: 9.543 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.4564, allocations: 19.92 kB / 0.6327 GB, free: 9.523 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.236e-05/0.4565, allocations: 15.97 kB / 0.6327 GB, free: 9.508 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.4565, allocations: 8 kB / 0.6327 GB, free: 9.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003985/0.4569, allocations: 342.8 kB / 0.6331 GB, free: 9.164 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4569, allocations: 4 kB / 0.6331 GB, free: 9.16 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002297/0.4592, allocations: 0.8538 MB / 0.6339 GB, free: 8.305 MB / 478.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.0041/0.4633, allocations: 1.891 MB / 0.6357 GB, free: 6.387 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006998/0.464, allocations: 271.6 kB / 0.636 GB, free: 6.121 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.464, allocations: 0 / 0.636 GB, free: 6.121 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002912/0.4643, allocations: 136.9 kB / 0.6361 GB, free: 5.988 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009208/0.4652, allocations: 184 kB / 0.6363 GB, free: 5.812 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005888/0.4711, allocations: 4.029 MB / 0.6402 GB, free: 1.609 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.4714, allocations: 247.7 kB / 0.6405 GB, free: 1.34 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003177/0.4717, allocations: 146 kB / 0.6406 GB, free: 1.199 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002002/0.4719, allocations: 163.4 kB / 0.6408 GB, free: 1.039 MB / 478.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4719, allocations: 0 / 0.6408 GB, free: 1.039 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08135/0.5532, allocations: 40.39 MB / 0.6802 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.39, allocations: 3.938 kB / 0.6802 GB, free: 8.816 MB / 0.5137 GB " [Timeout remaining time 646] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins1/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: 16.565270397113636]