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.001325/0.001325, allocations: 112.5 kB / 20.43 MB, free: 1.469 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.00143/0.00143, allocations: 213 kB / 23.74 MB, free: 4.695 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.536/1.536, allocations: 230.5 MB / 257.4 MB, free: 8.039 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.94 MB / 360.8 MB, free: 4.195 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.002439/0.002439, allocations: 79.88 kB / 0.4962 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4054, allocations: 66.09 MB / 0.5607 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03705/0.4425, allocations: 30.61 MB / 0.5906 GB, free: 5.578 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02138/0.4639, allocations: 15.68 MB / 0.606 GB, free: 5.844 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004929/0.4643, allocations: 11.88 kB / 0.606 GB, free: 5.832 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007885/0.4651, allocations: 218.6 kB / 0.6062 GB, free: 5.617 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007049/0.4658, allocations: 274.3 kB / 0.6064 GB, free: 5.348 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01587/0.4817, allocations: 5.663 MB / 0.612 GB, free: 15.69 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001261/0.483, allocations: 0.8303 MB / 0.6128 GB, free: 14.86 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000396/0.4834, allocations: 189 kB / 0.613 GB, free: 14.67 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01179/0.4952, allocations: 5.517 MB / 0.6183 GB, free: 9.066 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005265/0.4957, allocations: 251 kB / 0.6186 GB, free: 8.82 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.842e-05/0.4958, allocations: 28 kB / 0.6186 GB, free: 8.793 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01241/0.5082, allocations: 6.107 MB / 0.6246 GB, free: 2.68 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001841/0.5084, allocations: 91.67 kB / 0.6247 GB, free: 2.59 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000309/0.5087, allocations: 187.1 kB / 0.6248 GB, free: 2.406 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01018/0.5189, allocations: 3.675 MB / 0.6284 GB, free: 14.72 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.5189, allocations: 0 / 0.6284 GB, free: 14.72 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.5189, allocations: 0 / 0.6284 GB, free: 14.72 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.871e-05/0.5189, allocations: 3.938 kB / 0.6284 GB, free: 14.72 MB / 478.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.002781/0.5217, allocations: 0.9586 MB / 0.6294 GB, free: 13.73 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.5217, allocations: 12.03 kB / 0.6294 GB, free: 13.71 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.589e-05/0.5218, allocations: 62.72 kB / 0.6294 GB, free: 13.64 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009843/0.5228, allocations: 116.6 kB / 0.6295 GB, free: 13.53 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000553/0.5233, allocations: 284.9 kB / 0.6298 GB, free: 13.23 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.3e-05/0.5234, allocations: 20.88 kB / 0.6298 GB, free: 13.21 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.258e-05/0.5234, allocations: 36.11 kB / 0.6299 GB, free: 13.17 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.5246, allocations: 450.1 kB / 0.6303 GB, free: 12.69 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.5246, allocations: 0 / 0.6303 GB, free: 12.69 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.142e-05/0.5246, allocations: 19.94 kB / 0.6303 GB, free: 12.67 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.5246, allocations: 8 kB / 0.6303 GB, free: 12.66 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.5257, allocations: 361.3 kB / 0.6307 GB, free: 12.31 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00327/0.529, allocations: 2.194 MB / 0.6328 GB, free: 9.945 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.53, allocations: 274.3 kB / 0.6331 GB, free: 9.668 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002778/0.5303, allocations: 92.8 kB / 0.6332 GB, free: 9.574 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000278/0.5306, allocations: 103.9 kB / 0.6333 GB, free: 9.473 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.5306, allocations: 30.56 kB / 0.6333 GB, free: 9.434 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 2.064e-06/0.5306, allocations: 0 / 0.6333 GB, free: 9.434 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.001755/0.5324, allocations: 449.3 kB / 0.6337 GB, free: 8.988 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.409e-05/0.5324, allocations: 114.7 kB / 0.6338 GB, free: 8.852 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003926/0.5328, allocations: 324.4 kB / 0.6341 GB, free: 8.523 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.5329, allocations: 33.7 kB / 0.6342 GB, free: 8.484 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.533, allocations: 211.9 kB / 0.6344 GB, free: 8.273 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.236e-05/0.5331, allocations: 39.69 kB / 0.6344 GB, free: 8.234 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.52e-05/0.5332, allocations: 57.66 kB / 0.6345 GB, free: 8.172 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.5333, allocations: 342.8 kB / 0.6348 GB, free: 7.828 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/0.5336, allocations: 83.94 kB / 0.6349 GB, free: 7.746 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003654/0.534, allocations: 207.4 kB / 0.6351 GB, free: 7.488 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006395/0.5346, allocations: 277.4 kB / 0.6353 GB, free: 7.168 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5346, allocations: 0 / 0.6353 GB, free: 7.168 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007633/0.5354, allocations: 317 kB / 0.6356 GB, free: 6.852 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.5354, allocations: 8 kB / 0.6356 GB, free: 6.844 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.5354, allocations: 4.469 kB / 0.6357 GB, free: 6.84 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.5354, allocations: 8 kB / 0.6357 GB, free: 6.832 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002709/0.5357, allocations: 71.83 kB / 0.6357 GB, free: 6.762 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/0.5357, allocations: 11.92 kB / 0.6357 GB, free: 6.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/0.536, allocations: 47.72 kB / 0.6358 GB, free: 6.703 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.638e-05/0.536, allocations: 12 kB / 0.6358 GB, free: 6.691 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.0001819/0.5362, allocations: 159 kB / 0.6359 GB, free: 6.527 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.757e-05/0.5362, allocations: 35.81 kB / 0.636 GB, free: 6.492 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/0.5374, allocations: 0.7529 MB / 0.6367 GB, free: 5.73 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.5375, allocations: 11.92 kB / 0.6367 GB, free: 5.719 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.5375, allocations: 4 kB / 0.6367 GB, free: 5.715 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.5375, allocations: 3.938 kB / 0.6367 GB, free: 5.711 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006038/0.5381, allocations: 0.5096 MB / 0.6372 GB, free: 5.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.5381, allocations: 0 / 0.6372 GB, free: 5.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002128/0.5383, allocations: 43.95 kB / 0.6373 GB, free: 5.117 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.5383, allocations: 0 / 0.6373 GB, free: 5.117 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.5383, allocations: 4 kB / 0.6373 GB, free: 5.113 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.5383, allocations: 3.938 kB / 0.6373 GB, free: 5.109 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.5383, allocations: 7.938 kB / 0.6373 GB, free: 5.102 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007714/0.5391, allocations: 478.7 kB / 0.6377 GB, free: 4.621 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.084e-05/0.5392, allocations: 47.62 kB / 0.6378 GB, free: 4.574 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.725e-05/0.5392, allocations: 27.67 kB / 0.6378 GB, free: 4.547 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.5394, allocations: 23.92 kB / 0.6378 GB, free: 4.523 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.223e-05/0.5395, allocations: 15.97 kB / 0.6379 GB, free: 4.508 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.5395, allocations: 11.98 kB / 0.6379 GB, free: 4.496 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003976/0.5399, allocations: 338.9 kB / 0.6382 GB, free: 4.164 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5399, allocations: 0 / 0.6382 GB, free: 4.164 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00245/0.5424, allocations: 0.8539 MB / 0.639 GB, free: 3.309 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.004738/0.5471, allocations: 1.887 MB / 0.6409 GB, free: 1.395 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009254/0.548, allocations: 267.7 kB / 0.6411 GB, free: 1.133 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.548, allocations: 0 / 0.6411 GB, free: 1.133 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003012/0.5483, allocations: 144.8 kB / 0.6413 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.5494, allocations: 194.9 kB / 0.6414 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007279/0.5567, allocations: 4.033 MB / 0.6454 GB, free: 12.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000528/0.5572, allocations: 0.85 MB / 0.6462 GB, free: 11.72 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004166/0.5576, allocations: 130.8 kB / 0.6463 GB, free: 11.59 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002549/0.5579, allocations: 159.4 kB / 0.6465 GB, free: 11.44 MB / 494.1 MB Notification: Performance of SimCode: time 1.032e-06/0.5579, allocations: 0 / 0.6465 GB, free: 11.44 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0832/0.6411, allocations: 39.47 MB / 0.685 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/13.98, allocations: 7.984 kB / 0.6851 GB, free: 4.055 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: 17.311641334999877]